Cron

/etc/crontab:

Change crontab to run fetchmail and the atomic clock, if desired. For example:

     SHELL=/bin/bash
     PATH=/sbin:/bin:/usr/sbin:/usr/bin
     HOME=/
     MAILTO=root
     # Note: if you don't want mail for individual commands, send the output
     # somewhere (e.g. /dev/nul).  The "MAILTO=" option doesn't work.  Also note
     # that you should use ">>file 2>&1" or something equivalent so that output
     # to stderr will not generate mail (unless that's what you want).
     # run-parts
     01 * * * * root run-parts /etc/cron.hourly
     02 4 * * * root run-parts /etc/cron.daily
     22 4 * * 0 root run-parts /etc/cron.weekly
     42 4 1 * * root run-parts /etc/cron.monthly
     # Retrieve mail from the ISP's POP server.  Log attempts to fetchmail log.
     00 * * * * root /etc/mail/fetchmail-poll >>/var/log/fetchmail 2>&1
     30 * * * * root /etc/mail/fetchmail-poll >>/var/log/fetchmail 2>&1
     # Once a day at 01:00, notify the users of all of the spam received in the
     # last 24 hours.
     00 1 * * * root /home/mailrobot/SpamNotify.pl --partition
     # Once a day at 00:30, remove all of the filtered mail messages that are
     # over 30 days old.
     30 0 * * * root /etc/mail/filterclean
     # Poll the atomic clock at CMU once a day to set our clock.  Do this at
     # 01:30 so that we're set for the day but don't interfere with switching to
     # or from DST.
     #
     # This has been replaced by ntp.
     #30 1 * * * root /usr/bin/atomclock-poll >> /var/log/fetchmail 2>&1
     # Twice a day, check the reference server used by NTP to see if it is OK.
     00 8,20 * * * root /etc/ntp/ntpcheck
     # Twice a month, have the UPS check its battery.
     00 10 1,15 * * root /etc/ups/batterytest fusion-reactor
     # Reindex any Web pages that have changed since yesterday.
     15 2 * * * root /var/www/reindex Domain1
     15 3 * * * root /usr/local/htDig/bin/htnotify -c \
                     /var/www/Domain1/db/htdig.conf
     45 2 * * * root /var/www/reindex Domain2
     45 3 * * * root /usr/local/htDig/bin/htnotify -c \
                     /var/www/Domain2/db/htdig.conf
     # Pull guide data for TiVo.  Note that there is a lot of congestion around
     # 8 O'Clock PM so we try a little later on at an odd time.  Once a day, build
     # and push slice files out to the local TiVos.
     05 0,4,8,12,16 * * * root /home/ewilde/TiVo/guidedata-pull \
                               >>/var/log/guidedata 2>&1
     35 20 * * * root /home/ewilde/TiVo/guidedata-pull >>/var/log/guidedata 2>&1
     15 4 * * * root /home/ewilde/TiVo/guidedata-push >>/var/log/guidedata 2>&1