# /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file. # This file also has a username field, that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command # 25 6 * * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily 47 6 * * 7 root test -e /usr/sbin/anacron || run-parts --report /etc/cron.weekly 52 6 1 * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly # 1 12 * * * root (cd /var/www ; ./run_solar_noon) # Every ten minutes, add a line to the GNUPLOT input file for complete history of pool temperatures # and generate a new web page 1-56/5 * * * * root (cd /var/www ; ./run_solar ; sync) # lynx commands get stuck, reboot every Sunday night at 1AM # 0 1 * * 7 root (reboot) # Restart the water flow monitoring program every night at 1:05 AM, just after the reboot 5 1 * * * root (cd /var/www ; killall run_water water ; ./run_water ) # Restart the light monitoring program two minutes after the hour, every hour 2 * * * * root (cd /var/www ; killall run_lights ; ./run_lights) # Backup files once a day at 5AM 2 5 * * * root (cd /var/www; ./run_backup) # Once a day, at 3:01 AM reset our clocks to the time server clock # Once an hour at seven minutes past the hour set our Linux time to # the on-board CMOS clock. The Linux clock drifts a lot on the ARM. # 1 3 * * * root (/etc/init.d/ntpdate start ; hwclock --systohc) # 7 * * * * root (hwclock --hctosys)