1 |
On Wed, Sep 21, 2005 at 04:15:04PM -0500, John Jolet wrote: |
2 |
> On Wed, 2005-09-21 at 17:11 -0400, Matt Randolph wrote: |
3 |
> > I have a script in /etc/cron.daily that never runs. It works properly |
4 |
> > when run manually and it's been in there for weeks (and a reboot or two). |
5 |
> > |
6 |
> > I'm using vixie-cron. |
7 |
> cron.daily doesn't get run from cron. gets run out of anacron....do you |
8 |
> have anacron installed? |
9 |
|
10 |
I am not quite sure that is correct. |
11 |
|
12 |
I run vixie-cron on my desktop machine, and /etc/crontab, which |
13 |
vixie-cron respects, has by default the following in it: |
14 |
====snip of /etc/crontab==== |
15 |
# check scripts in cron.hourly, cron.daily, cron.weekly and |
16 |
# cron.monthly |
17 |
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly |
18 |
1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily |
19 |
15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly |
20 |
30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly |
21 |
*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons |
22 |
====end snip==== |
23 |
and if you read /usr/sbin/run-crons (just a shell script) you'd see |
24 |
that it runs the jobs in /etc/cron.$BASE |
25 |
|
26 |
Now, it could be quite possible that the OPs system doesn't have such |
27 |
in /etc/crontab, or it could be missing /usr/sbin/run-crons, in which |
28 |
case the cron.* directory will not get executed. But AFAIK, a default |
29 |
gentoo installation of vixie-cron should respect the /etc/cron.* |
30 |
|
31 |
W |
32 |
-- |
33 |
Optical mice are considered "eunuchs hardware" because they lack balls. |
34 |
Sortir en Pantoufles: up 41 days, 1:10 |
35 |
-- |
36 |
gentoo-user@g.o mailing list |