Open ya-jeks opened 11 years ago
I am also interested in knowing how to stop clockwork. I try to use it with God and ran into many problems. I also don't want to manually kill the PID although that's a last resort.
you can use clockworkd start stop
On Apr 6, 2013, at 5:43 PM, Henley Chiu notifications@github.com wrote:
I am also interested in knowing how to stop clockwork. I try to use it with God and ran into many problems. I also don't want to manually kill the PID although that's a last resort.
— Reply to this email directly or view it on GitHub.
Resurrecting an old thread: i'm basically looking to gracefully shut it down .. like we should be able to do Clockwork.shutdown which would break the loop in Clockwork::Manager which goes:
loop do tick sleep end
I want to be able to exit this loop. I've tried overriding it, but its protected inside the module. My last resort would be to fork and include it but i dont want to do that unless there is a solution. Anything?
How can I stop clockwork, which started by
RAILS_ENV=production bundle exec clockwork config/schedule.rb &
. We are using it without God, Monit or anything else