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

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



 "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!
> 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?
> 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.
> --
Carrie;
The standard Redhat crontab does not use quarter-hourly, perhaps Cobalt followed
their lead.
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 * * * *
GeraldW