Skip to content

Instantly share code, notes, and snippets.

@lewispb
Created March 24, 2020 10:24
Show Gist options
  • Save lewispb/cc1f1b781dd182f3622a824b56b8e8db to your computer and use it in GitHub Desktop.
Save lewispb/cc1f1b781dd182f3622a824b56b8e8db to your computer and use it in GitHub Desktop.

Revisions

  1. lewispb created this gist Mar 24, 2020.
    4 changes: 4 additions & 0 deletions rufus.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    require 'rufus-scheduler'
    scheduler = Rufus::Scheduler.new
    job = scheduler.schedule_cron('0 7 * * 6 America/Denver') { }
    job.next_times(10)