mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Run all three maintenance script in succession, making sure they always
run on the right day but never overlap. Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
This commit is contained in:
parent
7a2650d625
commit
ef54189fc9
1 changed files with 7 additions and 4 deletions
11
etc/crontab
11
etc/crontab
|
|
@ -13,10 +13,13 @@ HOME=/var/log
|
|||
# rotate log files every hour, if necessary
|
||||
0 * * * * root newsyslog
|
||||
#
|
||||
# do daily/weekly/monthly maintenance
|
||||
1 3 * * 0-5 root periodic daily
|
||||
1 3 * * 6 root periodic daily weekly
|
||||
30 5 1 * * root periodic monthly
|
||||
# Do daily/weekly/monthly maintenance.
|
||||
# These four rules make sure the right maintenance scripts run one
|
||||
# after the other on the right day.
|
||||
1 3 2-31 * 0-5 root periodic daily
|
||||
1 3 2-31 * 6 root periodic daily weekly
|
||||
1 3 1 * 0-5 root periodic daily monthly
|
||||
1 3 1 * 6 root periodic daily weekly monthly
|
||||
#
|
||||
# time zone change adjustment for wall cmos clock,
|
||||
# does nothing, if you have UTC cmos clock.
|
||||
|
|
|
|||
Loading…
Reference in a new issue