I'm trying to get a crontab to run, every Friday at 11am and the problem is that it isn't running at all.
0 11 * * 6 /Users/martinb/Documents/SYSADMIN/Regular-Scripts/Info-And-Backups.sh
Here's a link to a screenshot of my script (I've censored my email address).
Screen Shot 2017 11 03 at 10 54 26 � imgbb.com
I've double checked that I've used the correct file path as well as adjusted the permissions of the script.
Screen Shot 2017 11 03 at 11 40 32 � imgbb.com
vbe
2
Its going to be difficult with the info your gave here to help you not seeing th actual script, then "6" would be saturday...
1 Like
That's fixed it, thankyou!
RudiC
4
That can be due to several reasons. Does it
- start at all? Check in system logs.
- start on time? Depending on your
locale
, 6 can be Saturday.
- fail right after starting? Schedule a simple script to just issue a message and exit.
- fail in the middle? Run in debug (xtrace) mode and analyse the log file.