No time sync.. which I had a time server accurate enough on the web. I have just finished modifying the damn script and crontabe to do the following now...
30 5 * * * * root /usr/../../../helpdesk off "5:30 PM" etc...etc.. so as long as it runs it'll work just a pain though. thanks, George Vieira Systems Manager Citadel Computer Systems P/L -----Original Message----- From: chesty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 28 November 2001 10:53 AM To: Sydney Linux Users Group (E-mail) Subject: Re: [SLUG] Crontab time On Wed, Nov 28, 2001 at 09:14:04AM +1100, George Vieira wrote: > > How can this run the minute before instead of ON TIME? cron works out when the next job is to be run, and sleeps. So if you change the system time, cron won't notice until after it wakes up. If the time change is minor, it just runs the job. It does different things depending on how big the time change was, which direction the time change was, and the type of crontab entry, it handle wild card entries differently. In your case, it might have worked out that the next job is to be run in 1000 seconds, so it sleeps for 1000 seconds. If you then set the time forward 3 seconds, effectively, cron wakes up 3 seconds early and runs the job in previous minute. Do you sync the clock with ntp or some other way? chesty -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
