5

Why does cron.weekly not run?

view full story
linux-howto

http://serverfault.com – When I noticed that the backupscript I placed in /etc/cron.weekly on my Debian6 server isn't executed I placed this small script in it, to see if the weekly cronjob is executed at all: #!/bin/bash echo 'CRON RAN' > /var/log/cron-weekly-runcheck.log saved it as -rwxr-xr-x 1 root root 64 Jul 15 02:14 /etc/cron.weekly/runcheck.sh When I checked today, the logfile it was supposed to create did not exist. The crontab looks like the following (which should be the default debian6 crontab to my knowledge): SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h (HowTos)