Run crono automatically with rails s #20

Closed
opened 2025-12-29 00:21:21 +01:00 by adam · 2 comments
Owner

Originally created by @lebart on GitHub (Jun 17, 2015).

Hello,

Tanks for this gem, very simple to use!

To test it, I just add it to a brand new rails app, at first I was waiting in front of the console to see the first test (print something) to appears... Nothing appends

I figure it out latter that I have to run bundle exec crono.

Is there any possibilities to make crono runs/launches when you start your rails server? Or maybe I'm missing something.

Originally created by @lebart on GitHub (Jun 17, 2015). Hello, Tanks for this gem, very simple to use! To test it, I just add it to a brand new rails app, at first I was waiting in front of the console to see the first test (print something) to appears... Nothing appends I figure it out latter that I have to run bundle exec crono. Is there any possibilities to make crono runs/launches when you start your rails server? Or maybe I'm missing something.
adam closed this issue 2025-12-29 00:21:21 +01:00
Author
Owner

@Epigene commented on GitHub (Jun 18, 2015):

You may use an initializer that starts crono daemonized, but this can be a source of headache, since you will still have to handle shutting crono down.

@Epigene commented on GitHub (Jun 18, 2015): You may use an initializer that starts crono daemonized, but this can be a source of headache, since you will still have to handle shutting crono down.
Author
Owner

@lebart commented on GitHub (Jun 18, 2015):

After some comparisons, especially with Rufus-scheduler, that's what I figured out. I agreed with you this can be tricky to shut down if started with an initializer.

The project is really nice for "monitoring" some tasks directly out of the box!

@lebart commented on GitHub (Jun 18, 2015): After some comparisons, especially with Rufus-scheduler, that's what I figured out. I agreed with you this can be tricky to shut down if started with an initializer. The project is really nice for "monitoring" some tasks directly out of the box!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/crono#20