Cron – How to: 1 Cron Job every ODD minutes and 1 other every EVEN minutes

cron

I have 2 cron jobs, i want one of them to run every odd minute (1,3,5,7,9,11….57,59)
and i want the other one to run every even minute (0,2,4,6,8,10,12…58)

how can i do it in an easy way? (no scripting – just cron job rules)

Best Answer

*/2 * * * * date >>/tmp/even
1-59/2 * * * * date >>/tmp/odd