Package: fcron Version: 3.0.1-1.3 Severity: wishlist Tags: patch thanks Hi,
currently the default systab shipped with fcron contains this:
alexan...@alexander:~$ cat fcron.orig/var/spool/fcron/systab.orig
!bootrun(true),nice(15),serial(true)
& 03 03 * * * run-parts --report /etc/cron.daily
& 17 03 * * 7 run-parts --report /etc/cron.weekly
& 02 04 1 * * run-parts --report /etc/cron.monthly
Firstly, it seems that /etc/cron.hourly is (intentionally?) missing.
Secondly, if there are no packages which have put something into
/etc/cron.{hourly,daily,weekly,monthly} dpkg will remove the directory
which (in my case) results in useless system mails like this one:
From: fcron <r...@alexander>
To: r...@alexander
Date: Fri, 01 Jan 2010 07:10:34 +0100
Subject: fcron <sys...@alexander> run-parts --report /etc/cron.monthly
run-parts: failed to open directory /etc/cron.monthly: No such file or
directory
Job run-parts --report /etc/cron.monthly terminated (exit status: 1)
(mailing output)
If there are no objections, I suggest applying the attached patch.
A happy new year to everyone!
Alexander Kurtz
--- fcron.orig/var/spool/fcron/systab.orig 2008-10-29 12:22:54.000000000 +0100 +++ fcron/var/spool/fcron/systab.orig 2010-01-01 18:22:25.000000000 +0100 @@ -1,4 +1,5 @@ !bootrun(true),nice(15),serial(true) -& 03 03 * * * run-parts --report /etc/cron.daily -& 17 03 * * 7 run-parts --report /etc/cron.weekly -& 02 04 1 * * run-parts --report /etc/cron.monthly +& 37 * * * * if [ -d /etc/cron.hourly ]; then run-parts --report /etc/cron.hourly; fi +& 03 03 * * * if [ -d /etc/cron.daily ]; then run-parts --report /etc/cron.daily; fi +& 17 03 * * 7 if [ -d /etc/cron.weekly ]; then run-parts --report /etc/cron.weekly; fi +& 02 04 1 * * if [ -d /etc/cron.monthly ]; then run-parts --report /etc/cron.monthly; fi
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

