# /etc/crontab - root's crontab for FreeBSD # # SHELL=/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin # #minute hour mday month wday who command # # Save some entropy so that /dev/random can re-seed on boot. */11 * * * * operator /usr/libexec/save-entropy # # Rotate log files every hour, if necessary. 0 * * * * root newsyslog # # Perform daily/weekly/monthly maintenance. 1 3 * * * root periodic daily 15 4 * * 6 root periodic weekly 30 5 1 * * root periodic monthly # # Adjust the time zone if the CMOS clock keeps local time, as opposed to # UTC time. See adjkerntz(8) for details. 1,31 0-5 * * * root adjkerntz -a # Take snapshots every day at 3:05 AM 5 3 * * * root /usr/local/bin/backup snapshot prune-local >>/var/log/backup 2>&1 # Send backup snapshots to remote every Monday at 4:05 AM 5 4 * * 1 root /usr/local/bin/backup send-to-remote prune-remote notify >>/var/log/backup 2>&1 # Run pylogsentinel */10 * * * * root python -m pylogsentinel # Run pylogsentinel batch job once a day 5 6 * * * root /usr/local/bin/pylogsentinel-batch-email.sh # Update ports trees nightly 0 2 * * * root /usr/local/bin/update-ports quarterly >>/var/log/update-ports.log 2>&1 5 2 * * * root /usr/local/bin/update-ports custom >>/var/log/update-ports.log 2>&1