Cron Jobs Scheduling
Hi ,
Im supposed to run two cron jobs ..job1 and job2
The two should execute mutually exclusive...meaning like I dont want "job1" to be executing when "job2" is executing..
The jobs will terminate by themselves if the the other is already executing..
If we schedule these jobs in cron to execute for every 5 mins, one of the jobs never run at all..Because in 5 mins both jobs will start at once...The 2nd in the list will never run at all...
I want the jobs to execute in 5 mins interval..
How this can be done?
Any ideas?
Thanks..
|