Figure 2: Sample crontab file
# Update configuration files if necessary
50 * * * * cd /etc ; /usr/bin/make
#
# Update crontab based if necessary
40 * * * * cd /usr/local/admin/cron ; /usr/bin/make
#
# Keep history of changes
30 * * * * cd /usr/local/admin/savesys ; /usr/bin/make
#
#
# Nightly invocation of calendar.
0 4 * * * /usr/bin/calendar -a
#
# Nightly Log Rotation
59 23 * * * /usr/local/admin/bin/logsave
#
# Clean out old core files silently
0 3 * * * find / -name '*.core' -print | xargs rm -f
#
0,15,30,45 * * * * /usr/bin/at
#
0 2 * * * sh /etc/daily 2>&1 | mail -s "daily output" root
30 3 * * 6 sh /etc/weekly 2>&1 | mail -s "weekly output" root
30 5 1 * * sh /etc/monthly 2>&1 | mail -s "monthly output" root
5 * * * * /usr/local/admin/bin/free
5 2 * * * /usr/local/admin/bin/police
0 1 * * * cd /usr/local/admin/fdist ; /usr/bin/make
|