Cron notes

From raju

every night

    MAILTO=""
    0 0 * * * $HOME/bin/nightly.py > /dev/null 2>&1
    

The MAILTO line is optional. It disables email from cron jobs (useful when no MTA is installed).

tags | crontab every day

every minute

    * * * * * /bin/date >> $HOME/x/log.txt
    

To run it every minute for the first half an hour

    0-29 * * * * /bin/date >> $HOME/x/log.txt
    

Useful links