[SunHELP] Cron running one hour too early?

Maarten Deen sunhelp at sunhelp.org
Sat Mar 31 04:05:40 CST 2001


Nicholas Dronen:
> On Thu, Mar 29, 2001 at 11:26:54PM +0200, Maarten Deen wrote:
> > Hi,
> > 
> > I've got a crontab running at 0:01 which requires my sun to dial out. 
> > The crontab is executing at 23:01, which is obviously one hour too 
> > early. First I thought it had something to do with DST, but I 
> > remembered that some time ago I switched the timezone from MET 
> > to WET (which sets the time one hour later). This seems match with 
> > the messages in the dialer log (which runs on a different machine).
[snip]

> I forget whether recylcing cron works to make timezone changes
> take effect on Solaris, but you could try:
> 
> # /etc/init.d/cron stop
> # /etc/init.d/cron start

It does. And on solaris it's /etc/rc0.d/K40cron (just to jog you 
memory ;-) )

Thanks,

Maarten

--
Maarten Deen                                           +31 (0)77 3076879
mdeen at xs4all.nl                              http://www.xs4all.nl/~mdeen



More information about the SunHELP mailing list