cron

Cron Scheduler

cron is a scheduler that can run scripts at specified times

each user can run "crontab -e" to edit their crontab file.

Crontab examples

Run a script every 5 mins

# clean logs every 5 mins
*/5 * * * * /home/jurn/bin/clean_logs.sh
    

This will run "/home/jurn/bin/clean_logs.sh" every 5 minutes

 

Published: Tuesday, 25 May 2010