I know that I can run something every five minutes in cron using a line, for example:
*/5 * * * * /my/script
What if I do not want it to work at 12:00, 12:05, 12:10, but rather at 12:01, 12:06, 12:11, etc.? I think I can do this:
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /my/script
... but it's ugly. Is there a more elegant way to do this?
linux unix cron sysadmin
mike Jan 22 '09 at 22:07 2009-01-22 22:07
source share