{"repo":"simplymadeapps/simple_scheduler","free":true,"listed":false,"github":"https://github.com/simplymadeapps/simple_scheduler","clone":"git clone https://github.com/simplymadeapps/simple_scheduler.git","description":"An enhancement for Heroku Scheduler + Sidekiq for scheduling jobs at specific times.","language":"Ruby","stars":133,"topics":["sidekiq","cron","heroku","scheduler"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Simple Scheduler Simple Scheduler is a scheduling add-on that is designed to be used with Sidekiq and Heroku Scheduler. It gives you the ability to schedule tasks at any interval without adding a clock process. Heroku Scheduler only allows you to schedule tasks every 10 minutes, every hour, or every day. Production Ready? Yes. We are using Simple Scheduler in production for scheduling tasks that run hourly, nightly, weekly, and every 10 minutes in Simple In/Out. Why did we need to create yet another job scheduler? Every option we evaluated seems to have the same flaw: If your server is down, your job won't run. Check out our intro blog post to learn more. Requirements You must be using: - Rails 7.2+ - ActiveJob - Sidekiq - Heroku Scheduler Both Active Job and Sidekiq::Worker classes can be queued by the scheduler. \\ Not actually required, but you're on your own for scheduling the rake simple scheduler task to run every 10 minutes. Installation Add this line to your application's Gemfile: And then execute: Getting Started Create the Configuration File Create the file config/simple scheduler.yml in your Rails project: Set up Heroku Scheduler Add the rake task to Heroku Scheduler and set it to run every 10 minutes: It may be useful to point to a specific configuration file in non-production environments. Use a custom configuration file by setting the SIMPLE SCHEDULER CONFIG environment variable. Task Options :class The class name of the ActiveJob or Sidekiq::Worker. Your job or ","default_branch":null,"files":null,"tree":[],"storefront":"/r/simplymadeapps","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/simplymadeapps/simple_scheduler/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}