Our great sponsors
Whenever | Clockwork | |
---|---|---|
19 | 2 | |
8,790 | 535 | |
- | - | |
4.1 | 0.0 | |
about 1 month ago | 6 months 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.
Whenever
Posts with mentions or reviews of Whenever.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-02.
- Scheduling Periodic Jobs with Redis in Rails Microservices Architecture
-
Constantly Running Tasks on Particular Time
Learn about Unix cron and use the whenever gem.
-
How do you schedule jobs far out in advanced?
there are cronjob gems available, i believe https://github.com/javan/whenever or so seems to be used frequently
-
Common and not so common tasks you have done with Background Jobs?
- Use them on a specific schedule as needed by your application, such as taking backups, sending periodic reminders or notifications for users, cleaning the database tables, etc. You can use a gem such as Whenever for managing scheduled cron jobs.
-
Deploy API only Rails App with Capistrano
whenever gem is used in Rails applications to schedule cron jobs e.g. send email notification about monthly expenditure on the 1st of each month.
-
How to schedule a task based on a table column?
Then you can use the whenever gem to schedule stuff.
-
railstart-niceadmin support more features
- [whenever](https://github.com/javan/whenever)
-
railstart-niceadmin release now!Backend management system based on Bootstrap 5 and NiceAdmin and Rails 7
whenever
-
Is sleep precise enough?
There are multiple ways to achieve this. Probably the simplest and most reliable is to rely on cron to run your process every minute. Cron keeps track of time and executes your script each minute. This has the added benefit of avoiding a long running process (which can have its own issues). You can even have your script install it’s own cron job using the Whenever gem.
-
🤷♀️ The easiest way to monitor your app in production is email?
Rake tasks can be called from Cron, so we'll use the Whenever Gem to automatically add our job to our Crontab during deployment, and keep our schedule in change control.
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).
What are some alternatives?
When comparing Whenever and Clockwork you can also consider the following projects:
Sidekiq-Cron - Scheduler / Cron for Sidekiq jobs
rufus-scheduler - scheduler for Ruby (at, in, cron and every jobs)
sidekiq-scheduler - Lightweight job scheduler extension for Sidekiq
resque-scheduler - A light-weight job scheduling system built on top of Resque
minicron - 🕰️ Monitor your cron jobs
delayed_job_recurring - Extends delayed_job to support recurring jobs
que-scheduler - A lightweight cron scheduler for the async job worker Que
Whenever vs Sidekiq-Cron
Clockwork vs Sidekiq-Cron
Whenever vs rufus-scheduler
Clockwork vs sidekiq-scheduler
Whenever vs sidekiq-scheduler
Clockwork vs rufus-scheduler
Whenever vs resque-scheduler
Clockwork vs resque-scheduler
Whenever vs minicron
Clockwork vs minicron
Whenever vs delayed_job_recurring
Clockwork vs que-scheduler