SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# IMPORTANT! All scripts/commands run by cron with root-privileges
# should be written with security in mind!!!
#
# A common problem is related to temporary files residing in world-writable
# directories (esp. /tmp).  As most GNU utilities (at least sort(1)) respect
# a TMPDIR environment variable it should be used!
# To support this, there are some helper functions in the cronloop hierarchy
# (currently /etc/cron.d/lib/functions), namely cronloop_mk_TMPDIR and
# cronloop_rm_TMPDIR, for handling sufficiently(?) uniq temporary directories
# (exemplary usage may be inspected in Daily/50update-locatedb).

#m hh DD MM DoW	user command

# Run any at jobs every minute (ONLY if 'atd' is NOT running!)
#*  *  *  *  *	root [ -x /usr/sbin/atrun ] && /usr/sbin/atrun
#*/5 *  *  *  *	root /sbin/rmmod -a

# run-parts
03  3  1  *  *	root [ -x /usr/sbin/cronloop ] && /usr/sbin/cronloop Monthly
04  4  *  *  6	root [ -x /usr/sbin/cronloop ] && /usr/sbin/cronloop Weekly
05  5  *  *  *	root [ -x /usr/sbin/cronloop ] && /usr/sbin/cronloop Daily
42  *  *  *  *	root [ -x /usr/sbin/cronloop ] && /usr/sbin/cronloop Hourly

# extensions...

# e.g if you want to have locatedb be built by daemon
# (additional provisions are necessary to allow write access to the database!)
# (and don't forget to remove that job from '/etc/cron.d/[MWDH]*/'!)
#55  5  *  *  *	daemon /etc/cron.d/lib/update-locatedb

