README and added second excluded network
This commit is contained in:
8
crontab
8
crontab
@@ -1,3 +1,5 @@
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
|
||||
# Limitator
|
||||
# Save used bytes to local file
|
||||
*/10 7-23 * * * /etc/init.d/limitator save &
|
||||
@@ -5,3 +7,9 @@
|
||||
1 0 1-12,14-31 * * /etc/init.d/limitator restart &
|
||||
# Reset the quota monthly
|
||||
1 0 13 * * /etc/init.d/limitator reset &
|
||||
|
||||
# Reboot at 4:30am every day
|
||||
# Note: To avoid infinite reboot loop, wait 70 seconds
|
||||
# and touch a file in /etc so clock will be set
|
||||
# properly to 4:31 on reboot before cron starts.
|
||||
30 4 * * * sleep 70 && touch /etc/banner && reboot
|
||||
|
||||
Reference in New Issue
Block a user