> Are thse system tasks supposed to be fired
> automatically by fcron?

You missed the message that flew by when emerging fcron...

Fcron includes the /etc/cron.* directories but does not install cron jobs
for them automatically, and it does not support /etc/crontab (as other crons
do).

You need to manually add them to the root crontab.  Easiest way would be to:

1. su - (or login as root).
2. crontab -l root > root.crontab (to get any existing cron entries for
root).
3. vi root.crontab and add the following:

# Clean the lastrun directories...
0  *  * * *      rm -f /var/spool/cron/lastrun/cron.hourly
1  3  * * *      rm -f /var/spool/cron/lastrun/cron.daily
15 4  * * 6      rm -f /var/spool/cron/lastrun/cron.weekly
30 5  1 * *      rm -f /var/spool/cron/lastrun/cron.monthly

# Now do the command to determine what tasks need to be executed
# Only generate emails on errors...
!nolog(true)
*/10  *  * * *      /usr/bin/test -x /usr/sbin/run-crons &&
/usr/sbin/run-crons

4. crontab root.crontab (to make the changes take effect)

This will install the appropriate cron jobs to have the /etc/cron.* scripts
run.

Dave



-- 
gentoo-user@gentoo.org mailing list

Reply via email to