# Set these environment variables within cron: CRON=yes # Scripts know when they're being run via cron. # MAILTO=yourname # Who to send mail to. Leave blank if no mail is to be sent. # # Environment variables set by cron: # SHELL=/bin/sh # USER=yourname # PATH=/usr/bin:/bin # PWD=/home/yourname # SHLVL=1 # HOME=/home/yourname # LOGNAME=yourname # # To test, uncomment this line: ## * * * * * /bin/env > /tmp/env$$ #=================================================================== # Everything on a line is separated by blanks or tabs. # #+----------------------------- Minute (0-59) #| +----------------------- Hour (0-23) #| | +----------------- Day (1-31) #| | | +------------- Month (1-12) #| | | | +--------- Day of week (0-6, 0=Sunday) #| | | | | +---- Command to be run #| | | | | | #v v v v v v #=================================================================== # Keep an eye on drives and disk space. Run every 5 minutes. 4-54/5 * * * * $HOME/cron/checkdrives