I have a script in a jail, /home/aisling/BackupJob.sh, that calls a job that backs up to an external server. After the backup is complete the server sends me an email with the details, which works great when I fire the script manually. The problem is when I add the job to crontab, After the scheduled time I run
Thank you.
tail /var/log/cron
and see no errors, but the backup does not happen. Below is the cron job and the results of the tail.Thank you.
Code:
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
#
#minute hour mday month wday who command 3
#
44 08 * * * root /home/aisling/BackupJob.sh
Code:
Jul 24 08:44:00 syncrify /usr/sbin/cron[12337]: (operator) CMD (/usr/libexec/save-entropy)
Jul 24 08:44:00 syncrify /usr/sbin/cron[12338]: (root) CMD (root /home/aisling/BackupJob.sh)
Jul 24 08:45:00 syncrify /usr/sbin/cron[12370]: (root) CMD (/usr/libexec/atrun)