On Wed, 2005-09-21 at 22:47 +0100, Peter Ruskin wrote: > On Wednesday 21 September 2005 22:15, 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? > > Not true, cron.daily runs from vixie-cron. > Obviously, I stand corrected. Leftover redhat instincts :) > /etc/crontab should contain: > # check scripts in cron.hourly, cron.daily, cron.weekly and > cron.monthly > 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly > 0 1 * * * root rm -f /var/spool/cron/lastrun/cron.daily > 15 0 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly > 30 0 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly > */10 * * * * root test -x /usr/sbin/run-crons > && /usr/sbin/run-crons > > -- > Peter > ======================================================================== > Gentoo Linux: Portage 2.0.51.22-r2. kernel-2.6.13-gentoo-r1. > i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.5-20050130. > KDE: 3.4.2. Qt: 3.3.4. > ========================================================================
-- gentoo-user@gentoo.org mailing list