-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathroot
30 lines (30 loc) · 1.11 KB
/
root
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.WmB7h75FvQ installed on Mon Apr 24 13:34:01 2017)
# (Cron version V5.0)
#
SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour mday month wday command
#
# rotate log files every hour, if necessary
0 * * * * /usr/bin/newsyslog
# send log file notifications, if necessary
#1-59 * * * * /usr/bin/newsyslog -m
#
# do daily/weekly/monthly maintenance
30 1 * * * /bin/sh /etc/daily
30 3 * * 6 /bin/sh /etc/weekly
30 5 1 * * /bin/sh /etc/monthly
#0 * * * * sleep $((RANDOM \% 2048)) && /usr/libexec/spamd-setup
30 7 1 * * /usr/local/bin/adhosts.sh > /dev/null 2>&1
30 9 1 * * /usr/local/bin/malware.sh > /dev/null 2>&1
30 11 1,14 * * /usr/local/bin/dnsblock.sh > /dev/null 2>&1
20 8 * * * syspatch -c; fw_update -i | grep -v Installed
# schedule starts at 9am
0 9 * * * pfctl -t schedule -T replace -f /etc/pf.schedule > /dev/null 2>&1
# schedule ends at 5pm
0 17 * * * pfctl -t schedule -T flush > /dev/null 2>&1; /sbin/pfctl -k label -k schedule > /dev/null 2>&1
# sticky mfs /tmp
@reboot chmod 1777 /tmp; switchctl connect /dev/switch0