Running Cron on Selected Days of the Week

I can never remember how to setup cron. This example shows how to set up a job to run on selected days of the week. MAILTO=babbysandpants@bogusdomain.com # minute hour "day of month" month "day of week" # 5 past midnight on mon-fri (sun 7or0, mon-sat is 1-6) 5 0 * *...

Running Cron Every X Minutes

I keep forgetting the correct format of cron entries to have a command run every three minutes To do it every three minutes you need to make the syntax */3 not simply 3 (which means on the 3rd minute of every hour) # m h dom mon dow command */3 * * * *...

About the Author

James is an IT Professional based in Melbourne, Australia. He blogs about Information Technology, Open Source software, home renovations, good reads and travel.

Login

Blog History