1 |
On Wednesday 21 September 2005 22:15, 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 |
4 |
> > properly when run manually and it's been in there for weeks |
5 |
> > (and a reboot or two). |
6 |
> > |
7 |
> > I'm using vixie-cron. |
8 |
> |
9 |
> cron.daily doesn't get run from cron. gets run out of |
10 |
> anacron....do you have anacron installed? |
11 |
|
12 |
Not true, cron.daily runs from vixie-cron. |
13 |
|
14 |
/etc/crontab should contain: |
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 |
0 1 * * * root rm -f /var/spool/cron/lastrun/cron.daily |
19 |
15 0 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly |
20 |
30 0 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly |
21 |
*/10 * * * * root test -x /usr/sbin/run-crons |
22 |
&& /usr/sbin/run-crons |
23 |
|
24 |
-- |
25 |
Peter |
26 |
======================================================================== |
27 |
Gentoo Linux: Portage 2.0.51.22-r2. kernel-2.6.13-gentoo-r1. |
28 |
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.5-20050130. |
29 |
KDE: 3.4.2. Qt: 3.3.4. |
30 |
======================================================================== |
31 |
-- |
32 |
gentoo-user@g.o mailing list |