* Daylight Savings Time and cron
@ 2002-04-08 14:56 Senn, Bruce
0 siblings, 0 replies; only message in thread
From: Senn, Bruce @ 2002-04-08 14:56 UTC (permalink / raw)
To: tru64-unix-managers
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
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-08 14:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-08 14:56 Daylight Savings Time and cron Senn, Bruce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox