From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d5ed8c0e1888a063 X-Google-Attributes: gidfa528,public From: baligeko@my-deja.com Subject: Re: cron running jobs twice? Date: 2000/11/23 Message-ID: <8vjj5n$kgf$1@nnrp1.deja.com>#1/1 X-Deja-AN: 697120364 References: X-Http-Proxy: 1.0 x60.deja.com:80 (Squid/1.1.22) for client 158.169.131.30 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Nov 23 17:12:25 2000 GMT X-MyDeja-Info: XMYDJUIDbaligeko Newsgroups: comp.unix.tru64 X-Http-User-Agent: Mozilla/4.06 [en] (WinNT; I) I had the same problem, and after investigation, I found that the ROOT crontab was running 'rdate' at exactly the same time as my crontab job. If rdate puts the time back brutally a few seconds, then my cron job gets runs twice. (Apparently ntpd will not provoke this, as there are no time jumps, just the slowing down or speeding up of time until the two machines are in sync) Check to see if this is your situation, Cheers, Paul Kindervater In article , cmadams@HiWAAY.net (Chris Adams) wrote: > I had something odd happen last week on a system running Digital Unix > 4.0F, and I'm wondering if others have seen it. > > Basically, all jobs that were scheduled for exactly midnight were run > twice. It took me several days to realize that it had to be cron itself > (I have a couple of system cleanup scripts that I wrote that were run at > midnight or hourly and I searched through them to see if they had a > problem). > > I logged in on the console and restarted cron, and it seems to be fine > now. > > Anybody know what might cause this? > -- > Chris Adams > Systems and Network Administrator - HiWAAY Internet Services > I don't speak for anybody but myself - that's enough trouble. > Sent via Deja.com http://www.deja.com/ Before you buy.