On Wed, Sep 21, 2005 at 04:15:04PM -0500, John Jolet wrote:
> On Wed, 2005-09-21 at 17:11 -0400, Matt Randolph wrote:
> > I have a script in /etc/cron.daily that never runs.  It works properly 
> > when run manually and it's been in there for weeks (and a reboot or two).
> > 
> > I'm using vixie-cron.
> cron.daily doesn't get run from cron.  gets run out of anacron....do you
> have anacron installed?

I am not quite sure that is correct. 

I run vixie-cron on my desktop machine, and /etc/crontab, which
vixie-cron respects, has by default the following in it:
====snip of /etc/crontab====
# check scripts in cron.hourly, cron.daily, cron.weekly and
# cron.monthly
0  *  * * *     root    rm -f /var/spool/cron/lastrun/cron.hourly
1  3  * * *     root    rm -f /var/spool/cron/lastrun/cron.daily
15 4  * * 6     root    rm -f /var/spool/cron/lastrun/cron.weekly
30 5  1 * *     root    rm -f /var/spool/cron/lastrun/cron.monthly
*/10  *  * * *  root    test -x /usr/sbin/run-crons && /usr/sbin/run-crons
====end snip====
and if you read /usr/sbin/run-crons (just a shell script) you'd see
that it runs the jobs in /etc/cron.$BASE 

Now, it could be quite possible that the OPs system doesn't have such
in /etc/crontab, or it could be missing /usr/sbin/run-crons, in which
case the cron.* directory will not get executed. But AFAIK, a default
gentoo installation of vixie-cron should respect the /etc/cron.*

W
-- 
Optical mice are considered "eunuchs hardware" because they lack balls.
Sortir en Pantoufles: up 41 days,  1:10
-- 
gentoo-user@gentoo.org mailing list

Reply via email to