From: Georg Wittig <Georg.Wittig@gmd.de>
To: axp-list@redhat.com
Subject: Re: RH 6.1 and Cron?
Date: Wed, 15 Mar 2000 08:33:18 +0100 [thread overview]
Message-ID: <20000315083318.A26356@twister.gmd.de> (raw)
In-Reply-To: <Pine.LNX.4.10.10003142148390.25280-100000@obsequious.net>; from morrildl@nycap.rr.com on Tue, Mar 14, 2000 at 09:56:33PM -0500
morrildl@nycap.rr.com wrote:
> Has anyone had any trouble using user-defined crontabs with RH 6.1? On my
> SX164, I can `crontab -e` and /var/log/cron says yes indeed, the new crontab
> gets installed, but it never actually gets triggered. No email saying it
> failed, nothing.
>
> Scheduling tasks via `at` does work; it appears to be only crontabs that
> get ignored. Entries in /etc/crontab (such as the log rotations) also work.
>
> I had a friend test this on Intel, and it does work there, so it seems to
> be either an Alpha thing or something I broke (though I don't know what it
> could be.)
This is an old experience I made again and again on RHx.y for Alpha,
on LinuxPPCx.y and sometimes even on RHx.y for Intel. There seems to
be a long standing bug that crond most of the time doesn't do what
it's supposed to after booting (i.e. spawning cron jobs). It simply
does nothing. I guess there's a race condition somewhere in the boot
scripts or crond is started a little too early during bootup.
I use a work-around in /etc/rc.d/rc.local successfully: stop crond,
wait 1 second, restart crond:
/etc/rc.d/init.d/crond stop; sleep 1; /etc/rc.d/init.d/crond start
does the trick for me.
--
Georg Wittig, GMD Georg.Wittig@gmd.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hier arbeiten 500 MHz, 64 MB, ein Esel und ein Pinguin.
prev parent reply other threads:[~2000-03-15 7:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-15 2:56 RH 6.1 and Cron? morrildl
2000-03-15 3:43 ` Larry Snyder
2000-03-15 3:55 ` morrildl
2000-03-15 7:33 ` Georg Wittig [this message]
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