Betterment / delayed

a multi-threaded, SQL-driven ActiveJob backend used at Betterment to process millions of background jobs per day
MIT License
156 stars 9 forks source link

cron, separate gem or pull request? #11

Closed dorianmariecom closed 2 years ago

dorianmariecom commented 2 years ago

I'm thinking of porting https://github.com/codez/delayed_cron_job to delayed, should I make a separate gem or is there any change a PR would be merged?

dorianmariecom commented 2 years ago

actually I can do this by setting the next time the job will be executed from within the job, nevermind

smudge commented 2 years ago

👋 Hi @dorianmariefr -- catching up on notifications after the new year (happy 2022!) and saw this.

While delayed doesn't yet have a built-in answer for scheduled jobs, I wanted to point you to Betterment's fork of the clockwork gem: https://github.com/Betterment/clockwork

The changes in our fork are not fully reflected in the README, so I'll give you a quick overview:

dorianmariecom commented 2 years ago

hi @smudge, thanks, happy new year too, I ended up migrating to sidekiq and sidekiq-cron