Skip to content
Snippets Groups Projects
Select Git revision
  • 0032307c5868d56490ac1d968c986f8bab5a637b
  • main default protected
  • 75389691-a67c-422a-91e9-aa58bfb5-main-patch-32205
  • test-pipe
  • extended-scripts
  • structured-badges
  • guix-pipeline
  • cabal-pipeline
8 results

Badges.hs

Blame
  • cronotab.rb 619 B
    # cronotab.rb — Crono configuration file
    #
    # Here you can specify periodic jobs and schedule.
    # You can use ActiveJob's jobs from `app/jobs/`
    # You can use any class. The only requirement is that
    # class should have a method `perform` without arguments.
    #
    # class TestJob
    #   def perform
    #     puts 'Test!'
    #   end
    # end
    #
    # Crono.perform(TestJob).every 2.days, at: '15:30'
    #
    
    Crono.perform(FetchConferenceDataJob, '38c3').every 5.minutes
    Crono.perform(FetchConferenceDataJob, '38c3-more').every 5.minutes
    #Crono.perform(TelegramNotifyUpcomingJob, { offset: 15.minutes.to_i, interval: 1.minute.to_i }).every 1.minute