douglasg14b
Dabbler
- Joined
- Nov 26, 2017
- Messages
- 26
Freenas 11.1
I setup a cron task in the GUI, and have tried running it, but it does not seem to run. I've set it up as the root user, and put the full path to the shell script it's supposed to run.
I'm trying to test to see if this works by using the "Run Now" button.
The command:
/root/bin/EsxiBackupManager/run.sh
If I paste this command into an ssh shell it runs as expected, the script outputs it's logs to the appropriate file. If I click the "Run Now" button, it says the cron process started, but no output goes to the log file to indicate it ran.
There are no entries in /var/log/cron when I use "Run Now". There is an entry when the cron job runs itself. There are also no entries in /var/log/debug.log when the cron job runs on it's own.
Why might this be happening? How can I debug this?
I setup a cron task in the GUI, and have tried running it, but it does not seem to run. I've set it up as the root user, and put the full path to the shell script it's supposed to run.
I'm trying to test to see if this works by using the "Run Now" button.
The command:
/root/bin/EsxiBackupManager/run.sh
If I paste this command into an ssh shell it runs as expected, the script outputs it's logs to the appropriate file. If I click the "Run Now" button, it says the cron process started, but no output goes to the log file to indicate it ran.
There are no entries in /var/log/cron when I use "Run Now". There is an entry when the cron job runs itself. There are also no entries in /var/log/debug.log when the cron job runs on it's own.
Why might this be happening? How can I debug this?