On Wed, 21 Sep 2005 16:15:04 -0500 John Jolet <[EMAIL PROTECTED]> 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.
Is the executable bit set? Otherwise run "chmod u+x scriptname". > cron.daily doesn't get run from cron. gets run out of anacron....do > you have anacron installed? That's wrong. I don't have anacron installed, I have plain vixie-cron, and cron.{hourly,daily,weekly,monthly} gets run from cron. Here are the relevant lines from /etc/crontab: # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly 30 6 * * * root rm -f /var/spool/cron/lastrun/cron.daily 15 7 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly 0 8 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly */10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein)
pgpHlnKLCGD3z.pgp
Description: PGP signature