cron.weekly Failure
I have a backup server which cannot seem to get through the process. It's running a standard script in /etc/cron.weekly, with a series of rsync commands to back up the various machines on my LAN, all running Debian Testing.
The first problem is that it always decides to trigger on Friday, one of the two worst days of the week it could choose. I have /etc/crontab set to:
01 10 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
So why Friday? Why does every 7th day have to fall on a Friday?
The next problem is when it starts an rsync but fails (because it's Friday) it just silently quits. I want it to notify me by email if it craps out, but do not know how to make this in a script.
Can anyone advise?
|