This weekend we had a problem with cron not running a script scheduled after the change to DST. Here is the entry in crontab.
5 5 * * 0,2-5 ( csh /usr/local/bin/nsr_prep >> /tmp/bkup.log 2>&1 )
On Sunday at 8:00 AM the last access time for the script was 04-05-02. At one point I thought that this was the first item after the jump from 2:00 AM to 3:00 AM, but that is not the case. There are four items, which find and remove files, scheduled between 4:00 AM and 5:00 AM. These entries are:
15 4 * * * find /var/preserve ! -mount -mtime +7 -type f -exec rm -f {} \;
20 4 * * * find /tmp ! -mount -type f -atime +2 -exec rm -f {} \;
30 4 * * * find /var/tmp ! -mount -type f -atime +7 -exec rm -f {} \;
40 4 * * * find /var/adm/syslog.dated -depth -type d -ctime +5 -exec rm -rf {} \;
Unfortunately, I did not check on Sunday whether or not these commands were executed.
A script scheduled for 7:00 AM was submitted. The cron entry is:
0 7 * * 0 ( csh /usr/local/bin/nsr_fini >> /tmp/bkup.log 2>&1 )
Any insight would be appreciated.
TIA.
Bruce.
----------------------------------------------------------------------
Bruce J. Senn Phone: (518) 388-6664
Senior System Manager FAX: (518) 388-6458
Union College E-mail: sennb_at_union.edu
Schenectady, NY 12308 WWW:
http://www1.union.edu/~sennb
----------------------------------------------------------------------
Received on Mon Apr 08 2002 - 14:56:58 NZST