Renat Golubchyk wrote:
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
Thanks to everyone for their replies, but especially to Renat, Peter and
Willie. Looking again, I saw that the line pertaining to run-crons was
commented out. Perhaps it's time for me to increase the size of my
console font. ;-)
Matt
--
gentoo-user@gentoo.org mailing list