From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322261.tru64-unix-managers.marc@archive.invalid> From: "Senn, Bruce" Date: Mon, 08 Apr 2002 14:56:44 +0000 To: tru64-unix-managers Subject: Daylight Savings Time and cron X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322261 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@union.edu Schenectady, NY 12308 WWW: http://www1.union.edu/~sennb ----------------------------------------------------------------------