plashchynski / crono

A time-based background job scheduler daemon (just like Cron) for Rails
https://github.com/plashchynski/crono
Apache License 2.0
687 stars 56 forks source link

add start stop and restart to cli #37

Closed jannishuebl closed 8 years ago

jannishuebl commented 8 years ago

Hey,

I add more functionality to the CLI, know there is the possibility to stop and restart the daemon. The old Interface can be still used without changes. If the user want to use the new functionality the user has to include the daemon gem to the Rails project. This gem is used by delayed_job so the user might have it as dependency anyway.

But still he is not forced to use crono with daemon-gem. The current way is still working.

I needed to add a restart strategy for one of our use cases.

Feel free to commend on my changes. I will also test my changes in production in the next weeks.

jannishuebl commented 8 years ago

sorry my last change brook the CI, now its fixed.

plashchynski commented 8 years ago

Hello @jannishuebl Thank you for your work!