Package:     fcron                            
Version:     3.0.1-1.3

Took a script from gentoo to solve this issue in a squeeze server.
Afaik its included in fcron 3.0.6!
The script 'check_system_crontab' checks /etc/crontab, /etc/fcrontab,
files from/etc/cron.d/and builds a system fcrontab from it.
I just put the files /etc/fcron* into /etc/fcron/ and created symlinks
from /etc/ to the files /etc/fcron/*.
Had to create /etc/fcron/fcrontab:

# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/files/fcrontab,v
1.1 2006/07/31 02:10:49 wschlich Exp $
# Script for checking system crontabs and creating the fcron systab.
# Runs every 10 minutes, does not mail output, doesn't log job runs
# except for errors.
@mail(false),nolog(true) 10 /usr/local/sbin/check_system_crontabs -s 0
#
SHELL=/bin/sh

%hourly,nice(7)         *               run-parts --report /etc/cron.hourly
%daily,nice(7)          05 8-22         run-parts --report /etc/cron.daily
%weekly,nice(7)         10 8-22         run-parts --report /etc/cron.weekly
%monthly,nice(7)        15 8-22 *       run-parts --report /etc/cron.monthly
#

and invoke it once with:
/usr/local/sbin/check_system_crontabs -s 0


I'll attach the script here, hope I did a small contribution.

Bye, Holger



Attachment: check_system_crontabs.gz
Description: application/gzip

Reply via email to