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

Restart crono issue #63

Open louislewatcn opened 7 years ago

louislewatcn commented 7 years ago

I have defined 2 jobs in cronotab: Crono.perform(CheckBuildsAndNotifyJob, "Check Build Version", "AM").every 1.day, at: '09:30' Crono.perform(CheckBuildsAndNotifyJob, "Check Build Version", "PM").every 1.day, at: '18:30'

The crono stopped yesterday for some reason and I restart my rails server as well as crono. And the 2 jobs are triggered immediate I start crono. It seems that it will memorize the unperformed jobs when crono is down and will run them on next start.

How can I disable this feature?

marcindrozd commented 7 years ago

I have the same issue as above.

edwardmp commented 6 years ago

I encountered the same issue, which is definitely unwanted behavior.

amolbudkhe commented 3 years ago

@plashchynski I am also facing the same issue. I have to stop the Crono and restart it to get the scheduled rake job executed.

mediafinger commented 2 years ago

This also happens with newly defined jobs - which I wanted to execute in the middle of the night, as they drain a lot of resources and which started running directly after deployment. 🤦