Carl Lowenstein wrote: > On 3/12/07, Néstor <[EMAIL PROTECTED]> wrote: >> All cron jobs are running an hour late. I took the perl code >> from the logwatch where the time is displayed and run it >> and the time was correct. >> Also my web pages using php date are displaying an hour >> less or pre DST time. >> > > Search for more evidence: On a Fedora Core 3 system that has been up > for 30 days: > > $ sudo cat /var/lig/cron.1 /var/log/cron | grep daily | grep "Mar 1" > Mar 10 04:02:01 delta crond[29083]: (root) CMD (run-parts /etc/cron.daily) > Mar 10 04:02:09 delta anacron[29517]: Updated timestamp for job > `cron.daily' to 2007-03-10 > Mar 11 05:02:01 delta crond[29477]: (root) CMD (run-parts /etc/cron.daily) > Mar 11 05:02:08 delta anacron[29914]: Updated timestamp for job > `cron.daily' to 2007-03-11 > Mar 12 05:02:01 delta crond[13332]: (root) CMD (run-parts /etc/cron.daily) > Mar 12 05:02:06 delta anacron[13711]: Updated timestamp for job > `cron.daily' to 2007-03-12 > > On a Fedora Core 6 system that has been up about 1.5 days > > $ sudo cat /var/log/cron.1 /var/log/cron | grep daily | grep "Mar 1" > Mar 10 04:02:01 neon crond[2904]: (root) CMD (run-parts /etc/cron.daily) > Mar 10 04:29:35 neon anacron[3327]: Updated timestamp for job > `cron.daily' to 2007-03-10 > Mar 11 04:02:01 neon crond[4233]: (root) CMD (run-parts /etc/cron.daily) > Mar 11 04:29:36 neon anacron[4299]: Updated timestamp for job > `cron.daily' to 2007-03-11 > Mar 12 04:02:01 neon crond[30973]: (root) CMD (run-parts /etc/cron.daily) > Mar 12 04:29:35 neon anacron[31029]: Updated timestamp for job > `cron.daily' to 2007-03-12 > > Possibly the cron daemon doesn't read /etc/localtime except when it is > started, so it still uses the old DST definition. I'll have to try > that myself on system "delta". > > It bothers me somewhat that I can't find the what configures logrotate > to do the "cron" logs.
/etc/logrotate.d/syslog Regards, ..jim <grep is your friend :-)> -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
