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 X-Google-ArrivalTime: 2000-10-26 06:56:39 PST Path: supernews.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: cmadams@HiWAAY.net (Chris Adams) Newsgroups: comp.unix.tru64 Subject: Re: cron running jobs twice? Date: Thu, 26 Oct 2000 13:56:39 -0000 Organization: HiWAAY Information Services Message-ID: References: <972542252.12957.0.nnrp-03.c2deb51d@news.demon.co.uk> X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: cmadams@HiWAAY.net (Chris Adams) X-Complaints-To: newsabuse@supernews.com Xref: supernews.google.com comp.unix.tru64:657 Once upon a time, Adam Price said: >Bug in cron? Have you applied the latest patch kit for 4.0F? It seems >that this behaviour was one of the ones fixed by the last 'cron' patch we >got from a consolidated kit(can't remember the details, someone else I may be behind. I'll have to check on that. >did the patch). The details are that cron forks a process >then tries to exec it, the exec fails and for some reason the forked cron >doesn't catch the error and die, but continues to run as a cron daemon. >At this point you have 2 crons and so all jobs run twice. >This seems to have gone away for us since the patch, so maybe you >should look into it? This wouldn't be what was causing it, because I didn't have two crons (I though about that). There was just the one. And it didn't run all jobs twice, just those scheduled to run at exactly midnight. One job that is scheduled to run hourly at the top of the hour ran 25 times each day; it ran twice at 00:00 and then once every hour the rest of the day. -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble.