Clockwork
A scheduler process to replace cron. (by Rykian)
Sidekiq-Cron
Scheduler / Cron for Sidekiq jobs (by sidekiq-cron)
Our great sponsors
Clockwork | Sidekiq-Cron | |
---|---|---|
2 | 5 | |
535 | 1,819 | |
- | 1.0% | |
0.0 | 6.8 | |
6 months ago | 6 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Clockwork
Posts with mentions or reviews of Clockwork.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-25.
-
Newest way to handle Cron Jobs?
https://github.com/Rykian/clockwork always worked well when I have used it in the past.
-
Any idea how can we convert the string time to utc in ruby.
Unless you have very specific requirements that preclude this, you might want to run this task as a background job (e.g. Sidekiq worker) instead of as a rake task. This is a little bit of an opinion. There isn't one right way (indeed, that's one of the best things about Ruby). But in my career I've usually seen rake tasks used for things that need to be performed infrequently, and not as part of normal system operation. For things that need to be performed at regular intervals, and are part of the normal operation of the app, I usually see them set up as scheduled background jobs. You can use a background job gem (Sidekiq is wildly popular; Resque is another good one) and combine it with a scheduler (I'm personally a fan of the Clockwork gem but there are others out there).
Sidekiq-Cron
Posts with mentions or reviews of Sidekiq-Cron.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-12.
-
My project: railstart app
sidekiq-cron
-
Sidekiq - enqueue a job after a series of other jobs are finished
this might be useful? https://github.com/ondrejbartas/sidekiq-cron
-
How can I schedule a job to be executed in the future ?
Depending on how far into the future you're planning to, it could be worth storing the datetime you want it executed on a field like perform_work_at within your database. Then use sidekiq-cron to check a few times a day for if the perform_work_at has passed & the work needs to be done.
-
Just wanted to share my tiny rails project
The cron job itself was not a huge hassle; the sidekiq-cron gem worked really well for me here to get everything configured in the application.
-
What's the best process monitoring tool these days?
If what you need is a job (related to application) you can use sidekiq with sidekiq-cron [https://github.com/ondrejbartas/sidekiq-cron] running every x seconds or when a job ends starts a new one.
What are some alternatives?
When comparing Clockwork and Sidekiq-Cron you can also consider the following projects:
Whenever - Cron jobs in Ruby
sidekiq-scheduler - Lightweight job scheduler extension for Sidekiq
rufus-scheduler - scheduler for Ruby (at, in, cron and every jobs)
resque-scheduler - A light-weight job scheduling system built on top of Resque
minicron - 🕰️ Monitor your cron jobs
que-scheduler - A lightweight cron scheduler for the async job worker Que
cloudtasker - Background jobs for Ruby using Google Cloud Tasks
Clockwork vs Whenever
Sidekiq-Cron vs sidekiq-scheduler
Clockwork vs sidekiq-scheduler
Sidekiq-Cron vs Whenever
Clockwork vs rufus-scheduler
Sidekiq-Cron vs rufus-scheduler
Clockwork vs resque-scheduler
Sidekiq-Cron vs resque-scheduler
Clockwork vs minicron
Sidekiq-Cron vs minicron
Clockwork vs que-scheduler
Sidekiq-Cron vs cloudtasker