# /etc/crontab - root's crontab for FreeBSD # # $FreeBSD: releng/12.1/usr.sbin/cron/cron/crontab 338497 2018-09-06 14:55:54Z brd $ # 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 # Spam Assassin - rule updates 3 3 * * * root /usr/local/bin/sa-update && /usr/local/bin/sa-compile --quiet && service sa-spamd reload # New DNS wleiden.net */10 * * * * root /usr/local/tools/named_update.sh external | logger 5-59/10 * * * * root /usr/local/tools/create-nsd-snapshot # Making sure we create the mailman aliases if needed */15 * * * * root /usr/local/tools/update-mailman-aliases.sh # Updating user aliases if new user is created # Disabled; no longer support @wirelessleiden.nl aliases # */15 * * * * root /usr/local/tools/update-postfix-aliases.sh # Updating subversion auth if new user is created */15 * * * * root /usr/local/tools/update-subversion-authz.sh # Import scan data for heatmap importer */15 * * * * www INFO=false /usr/local/www/maps.wirelessleiden.nl/mysite/heatmap/import_scan_data.sh # Backup OpenLDAP 50 13 * * * root /usr/local/tools/openldap_backup.sh # RT 0 0 * * * root /usr/local/sbin/rt-email-digest -m daily 0 0 * * 0 root /usr/local/sbin/rt-email-digest -m weekly 0 * * * * root /usr/local/sbin/rt-email-dashboards # Portsnap updater 0 3 * * * root /usr/sbin/portsnap cron update | logger -t portsnap # Backup 34 1 * * * root /usr/local/tools/do_backup.sh cron