Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop clockwork #18

Open
ya-jeks opened this issue Dec 10, 2012 · 3 comments
Open

Stop clockwork #18

ya-jeks opened this issue Dec 10, 2012 · 3 comments

Comments

@ya-jeks
Copy link

ya-jeks commented Dec 10, 2012

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

fddayan pushed a commit to fddayan/clockwork that referenced this issue Feb 22, 2013
@HenleyChiu
Copy link

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.

@fddayan
Copy link

fddayan commented Apr 6, 2013

you can use clockworkd start stop

On Apr 6, 2013, at 5:43 PM, Henley Chiu [email protected] 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.

@hassanrehman
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants