Search code examples
rubyclockwork

Clockwork Ruby Gem: How to restart?


How does one restart the Ruby clockwork gem?

After reading the Wiki, it seems you can only start it, not stop or restart it.

I don't want to manually kill the process and run it again.


Solution

  • Assuming you started it as a daemon, then 'clockworkd -c YOUR_CLOCK.rb stop' should do the trick.