DEV Community

Discussion on: How to RSpec your sidekiq-scheduler

Collapse
 
mikhail profile image
Миша Лопандя • Edited

Have you tested cron job triggering?
so what I want to test:
if my job will be triggered on may 5 2020 10:25:00 +0200
with my sidekiq cron:

"Job Alerts: Daily sending - every day at 10:25":
  cron: "25 10 * * *"
  class: "JobAlertsWorker"
Enter fullscreen mode Exit fullscreen mode

what is the best way to do it?