From: cmadams@HiWAAY.net (Chris Adams)
Subject: Re: cron running jobs twice?
Date: Thu, 26 Oct 2000 13:56:39 -0000 [thread overview]
Message-ID: <svge0nif4mdqf6@corp.supernews.com> (raw)
In-Reply-To: 972542252.12957.0.nnrp-03.c2deb51d@news.demon.co.uk
Once upon a time, Adam Price <adam@pappnase.demon.co.uk> 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 <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
next prev parent reply other threads:[~2000-10-26 13:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-26 2:25 cron running jobs twice? Chris Adams
2000-10-26 5:31 ` Gary Schmidt
2000-10-26 13:54 ` Chris Adams
2000-10-30 9:42 ` qlos
2000-10-26 6:20 ` Adam Price
2000-10-26 13:56 ` Chris Adams [this message]
2000-10-26 13:22 ` agipe
2000-11-23 5:00 ` baligeko
2000-11-28 5:00 ` jpn
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox