mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
fcron: Run weekly tasks on Monday.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user