fcron: Run weekly tasks on Monday.

This commit is contained in:
Michael Tremer
2012-11-26 11:02:28 +01:00
parent fb6e700b40
commit a000249ff9
3 changed files with 5 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ HOME=/
*/5 * * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.cyclic
01 * * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.hourly
&nice(10),bootrun 25 1 * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.daily
&nice(10),bootrun 47 2 * * 0 test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.weekly
&nice(10),bootrun 47 2 * * 1 test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.weekly
&nice(10),bootrun 52 3 1 * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.monthly
# Log rotation

View File

@@ -5,3 +5,4 @@ srv/web/ipfire/cgi-bin/ovpnmain.cgi
usr/sbin/ovpn-ccd-convert
var/ipfire/general-functions.pl
var/ipfire/langs
var/spool/cron/root.orig

View File

@@ -49,6 +49,9 @@ perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
# Convert OpenVPN RW connections.
/usr/sbin/ovpn-ccd-convert
# Re-read crontab.
fcrontab -z &>/dev/null
#Rebuild module dep's
#arch=`uname -m`
#if [ ${arch::3} == "arm" ]; then