Detect if a Cron is running or not

89 views
Skip to first unread message

kartik rustagi

unread,
Apr 5, 2012, 8:15:56 AM4/5/12
to Whenever Gem, kar...@tradus.in
Hi,

I have a situation where I want a Cron to run every hour *provided*
that its previous instance is not running. How can I achieve this?

Thanks
Kartik Rustagi

Javan Makhmali

unread,
Apr 5, 2012, 8:21:54 AM4/5/12
to whenev...@googlegroups.com
Lockrun is your friend here - https://github.com/pushcx/lockrun

Once installed you can set up your whenever :job_template to use it.

-Javan

> --
> You received this message because you are subscribed to the Google
> Groups "Whenever Gem" group and because you're awesome.
> To post to this group, send email to whenev...@googlegroups.com
> To unsubscribe from this group, send email to
> whenever-gem...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/whenever-gem?hl=en

Reply all
Reply to author
Forward
0 new messages