- Action Cable
- Action Mailbox
- Action Text
- Active Storage
- Background Workers
- Billing & Payments
- Cron & Scheduled Jobs
Cron & Scheduled Jobs
Jumpstart Pro has support for running periodic jobs in the background at scheduled times.
The whenever gem is automatically installed and configured for Jumpstart Pro.
You can define cron jobs in
We recommend designing your cron jobs to kick off workers so you can process (and retry) the scheduled jobs with your workers.
Hatchbox.io will automatically detect and apply changes to your cron schedule during deployments. Nothing you need to do at all. 🙌
For Heroku, you'll need to manually add your cron jobs to the Herkou Scheduler or use an alternative like Sidekiq Cron.
If you're using Sidekiq, you might also consider using Sidekiq-Cron instead of whenever for running jobs. This will fire off new Sidekiq jobs based on your schedule and distribute the work across your sidekiq workers.