Scheduler / Cron for Sidekiq jobs
14-Apr-2022 1835
Scheduler / Cron for Sidekiq jobs. Contribute to ondrejbartas/sidekiq-cron development by creating an account on GitHub.Sidekiq-Cron runs a thread alongside Sidekiq workers to schedule jobs at specified times (using cron notation * * * * * parsed by Fugit).Checks for new jobs to schedule every 30 seconds and doesn't schedule the same job multiple times when more than one Sidekiq worker is running.Scheduling jobs are added only when at least one Sidekiq process is running, but it is safe to use Sidekiq-Cron in environments where multiple Sidekiq processes or nodes are running.If you want to know how scheduling work, check out under the hood.Works with ActiveJob (Rails 4.2 ).You don't need Sidekiq PRO, you can use this gem with plain Sidekiq.
Scheduler / Cron for Sidekiq jobs #ruby #rubydeveloper #rubyonrails #Scheduler #Sidekiq #sidekiq https://rubyonrails.ba/link/scheduler-cron-for-sidekiq-jobs