Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Adam Price" <adam@pappnase.demon.co.uk>
Subject: Re: cron running jobs twice?
Date: Thu, 26 Oct 2000 07:20:14 +0100	[thread overview]
Message-ID: <972542252.12957.0.nnrp-03.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: svf5hmku5gb880@corp.supernews.com


"Chris Adams" <cmadams@HiWAAY.net> wrote in message news:svf5hmku5gb880@corp.supernews.com...
> 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.
>
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
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?
Adam




  parent reply	other threads:[~2000-10-26  6:20 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 [this message]
2000-10-26 13:56   ` Chris Adams
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