I use a small Linux server to control the turning on and shutting off our client stations with crontab. The system I typically use is Ubuntu Server running on Hyper-V, I setup the server, enable WOL to turn them on and NET RPC to shut them down. I have been doing this since ubuntu 12.04. and this is the first time where I've had to reconfigure my scripts to make it work.
Here is a sample of the crontab on versions of Ubuntu Linux (before 26.04)
00 21 * * 1-4 $USER $PATH/$Script.sh
My crontab is setup so at 9:00 pm on Monday though Thursday the script "$Script.sh" is run as $User that is located located at $PATH
However in Ubuntu 26 it throws an error when running the script as the $USER, so once I removed the user from the crontab now looks like this.
00 21 * * 1-4 $PATH/$SCRIPT.sh
Terminal of Cron throwing an error
Created a log file to catch the error. Add >> /$PATH/$LOGFILE.log to crontab
After looking at the log it is erroring out on the user?
Once the error is resolved
After troubleshooting and finding out that the user in the crontab was causing the error; I removed the user and crontab started running the scripts. I was able to acknowledge that the script was running as the log filled up with the commands. I was going though documentation for Ubuntu 26.04 and I either missed or I can't find the changes made in crontab. It is interesting the little changes that though such a big monkey wrench into a system that really hasn't changed for years. At any rate the issue has been resolved and the system is running the scripts as expected.

