[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] cron.quarter-hourly script curiosities



On Sun, 15 Jul 2001, Gerald Waugh wrote:

>  "Carrie Bartkowiak" <ravencarrie@xxxxxxxx>  wrote
> 
> > On Sun, 15 Jul 2001 10:21:25 -0400, Carrie Bartkowiak wrote:
> > >>Any idea why a script that I have in cron.quarter-hourly will run
> > >>fine when I run it as root from the command line, but it won't run
> > >>every 15 minutes?
> > >>It's chmod'ed to 755, root owned, root grouped.
> > >>And it's driving me nuts.
> >
> > Follow-up on this;
> > 1. Stopped and restarted crond and still didn't work.
> > 2. I checked /etc/crontab and there was no entry for the
> > cron.quarter-hourly folder!
That's correct, search in the archives, you're not the first one to
complain.
> > There is an entry for all of the other cron folders - why not the
> > quarter-hourly one? Is this something that someone up at Cobalt
> > forgot or are we *supposed* to make it watch that folder ourselves?
You're not supposed to do that... read the motd :-)
> > So I added the following line to /etc/crontab:
> > 0,15,30,45 * * * * root run-parts /etc/cron.quarter-hourly
> > And the script is working fine now.
as it should.
> > --
> Carrie;
> The standard Redhat crontab does not use quarter-hourly, perhaps Cobalt followed
> their lead.
They didn't. This line used to exist, the first cron update killed it
(IIRC).
> Your entry is correct, although you may want to spread the load out, by not
> running
> your script at the same time as the swatch script.
> maybe 5,20,35,50 * * * *
generally good idea, though swatch really doesn't take that much resources
:-)
> GeraldW

- shimi.