You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rufus...@googlegroups.com
Hi
I am using rufus scheduler to run the cron job every 45 minutes. Now the job takes 30 minutes to complete.So no issue with this. But if we change the scheduler to every 5 min. We are in trouble. Because the same job runs every 5 min.It wont complete the first job itself. So now how can we prevent same job running again.How to start next scheduler until first job completes?
Thanks
John Mettraux
unread,
Nov 28, 2012, 3:41:50 PM11/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Another way of doing this is to have a flag file set by the job when it
begins. If the [next] job finds the file already existing it should not
proceed. You have to make sure the flag file is removed once the first job
completes (success or not).