From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322263.tru64-unix-managers.marc@archive.invalid> From: "Senn, Bruce" Date: Mon, 08 Apr 2002 15:38:35 +0000 To: tru64-unix-managers Subject: SUMMARY: Daylight Savings Time and cron X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322263 Thanks to Martin Moore of Compaq. There was a bug in 4.0D, fixed in V4.0f and higher, and in patch kits = for earlier versions. The fix is supposed to be in 4.0d patch kit 3 = (and later). The last 4.0d patch kit (#9) is available from=20 (http://ftp.support.compaq.com/public/unix/v4.0d/). =20 Of course a better solution is to upgrade. Bruce. > -----Original Message----- > From: Senn, Bruce=20 > Sent: Monday, April 08, 2002 10:57 AM > To: tru64-unix-managers@ornl.gov > Subject: Daylight Savings Time and cron >=20 >=20 > This weekend we had a problem with cron not running a script=20 > scheduled after the change to DST. Here is the entry in crontab. >=20 > 5 5 * * 0,2-5 ( csh /usr/local/bin/nsr_prep >> /tmp/bkup.log 2>&1 ) >=20 > On Sunday at 8:00 AM the last access time for the script was=20 > 04-05-02. At one point I thought that this was the first=20 > item after the jump from 2:00 AM to 3:00 AM, but that is not=20 > the case. There are four items, which find and remove files,=20 > scheduled between 4:00 AM and 5:00 AM. These entries are: >=20 > 15 4 * * * find /var/preserve ! -mount -mtime +7 -type f=20 > -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=20 > +5 -exec rm -rf {} \; >=20 > Unfortunately, I did not check on Sunday whether or not these=20 > commands were executed. >=20 > A script scheduled for 7:00 AM was submitted. The cron entry is: >=20 > 0 7 * * 0 ( csh /usr/local/bin/nsr_fini >> /tmp/bkup.log 2>&1 ) >=20 > Any insight would be appreciated. >=20 > TIA. >=20 > 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 > ---------------------------------------------------------------------- >=20