1# 2# 3# 4# $MirSecuCron$ 5# $MirOS: src/etc/crontab,v 1.32 2009/11/28 13:01:34 tg Exp $ 6# $OpenBSD: crontab,v 1.15 2007/02/27 16:04:16 beck Exp $ 7# 8# /var/cron/tabs/root - root's crontab 9# 10SHELL=/bin/mksh 11PATH=/bin:/sbin:/usr/bin:/usr/sbin 12HOME=/var/log 13# 14#minute hour mday month wday command 15# 16# sendmail clientmqueue runner 1735 */3 * * * /usr/bin/nice /usr/sbin/sendmail -L sm-msp-queue -Ac -q 18# 19# rotate log files every hour, if necessary 200 * * * * /usr/bin/nice -n 5 /usr/bin/newsyslog 21# send log file notifications, if necessary 22#1-59 * * * * /usr/bin/newsyslog -m 23# 24# do daily/weekly/monthly maintenance 25@reboot /usr/bin/nice -n 15 /bin/mksh /etc/cronrun -l anacron 2630 1 * * * /bin/mksh /etc/cronrun -t20 daily 2730 3 * * 6 /bin/mksh /etc/cronrun -t60 weekly 2830 5 1 * * /bin/mksh /etc/cronrun -t90 monthly 29#0 * * * * /usr/libexec/spamd-setup 30# 31# store random seed to disc every three hours 32# add hardware sensors etc. to pool twice an hour 3357 */3 * * * /usr/bin/nice -n -19 /usr/libexec/randshuffle 3414,44 * * * * (/bin/dd if=/dev/prandom bs=1 count=1; /bin/sleep $(/usr/bin/jot -r 1 30 90); /bin/dd if=/dev/arandom bs=1 count=1; /sbin/sysctl -a; /bin/ps -akwwx -o "$(/bin/ps -L)"; /bin/ps -aexwwo pid,args; /bin/ps -axwwo pid,args) 2>&1 | /bin/cksum -ba cksum -a md4 -a rmd160 -a sfv -a sha384 -a tiger -a adler32 -a sum >/dev/wrandom 35# 36# pull random bytes from the 'net (useful for headless servers, but insecure) 37#11 0,12 * * * (/bin/sleep $(/usr/bin/jot -r 1 60 900); /usr/bin/time -l /usr/bin/ftp -Vo - http://www.randomnumbers.info/cgibin/wqrng.cgi?amount=80\&limit=1024) 2>&1 | /bin/cksum -ba sha512 -a sfv -a cdb -a suma -a rmd160 >/dev/wrandom 38#31 4,16 * * * (/bin/sleep $(/usr/bin/jot -r 1 60 900); /usr/bin/time -l /usr/bin/ftp -mvo /dev/urandom https://www.fourmilab.ch/cgi-bin/Hotbits?nbytes=64\&fmt=bin) 2>&1 | /bin/cksum -ba suma >/dev/wrandom 39#51 8,20 * * * (/bin/sleep $(/usr/bin/jot -r 1 60 900); /usr/bin/time -l /usr/bin/ftp -mvo /dev/urandom https://www.random.org/cgi-bin/randbyte?nbytes=64\&format=f) 2>&1 | /bin/cksum -ba suma >/dev/wrandom 40