Re: Question about cron timing
- From: ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
- Date: Sat, 24 Mar 2007 19:46:02 -0500
On Fri, 23 Mar 2007, in the Usenet newsgroup comp.unix.bsd.freebsd.misc, in
article <0m1ed4-s8u.ln1@xxxxxxxxxx>, Charlie Sorsby wrote:
If I edit with crontab -e, the log entry shows th
proper time stamp but for anything that cron runs, it shows a time
stamp for the hour before. Here's a short snippet from the log file:
Yes - they are different processes - as the log shows
Mar 23 14:54:00 sorsby /usr/sbin/cron[131]: (root) RELOAD (tabs/root)
Reloading the _crontab_
Does cron *not* use the same clock as the rest of the system?
Yes
How does one tell cron that we're on daylight saving time now?
Same way everyone else does - by computing the time plus the offset.
(And, yes, I did fetch the time-zone configuration file from
ftp://elsie.nci.nih.gov/pub/tzdata2007b.tar.gz and perform the
steps per:
http://articles.techrepublic.com.com/5102-10877-6163042.html
and, as far as I can tell, everything is running on DST -- *except*
cron.
Ah, one of the joys of living in Arizona where I don't have to put
up with this crap. Anyway, when did you replace the files, compared
to when did the cron daemon _start_ (not reload, but start)? Some
processes only look at the tzset information when they start. As a
shot, try sending cron a -HUP (kill 30592 -HUP) and see if that
cures it - and if not, try stopping and starting the daemon.
Old guy
.
- References:
- Question about cron timing
- From: Charlie Sorsby
- Question about cron timing
- Prev by Date: Re: 200GB IDE disk on old system
- Next by Date: Re: ipfw drive me crazy
- Previous by thread: Re: Question about cron timing
- Next by thread: SSL warning in Apache
- Index(es):
Relevant Pages
|
|