Skip to content


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 * * * * /home/user/bin/mycommand

This cron job now runs as I want…

# m h dom mon dow command
The above is the format eg.
m = minutes
h = hours
dom = day month
mon = month
dow = day of week
command = command

Posted in GNU/Linux, Linux Tools.

Tagged with , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.



Page optimized by WP Minify WordPress Plugin