# 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'
#
require 'rake'
# Be sure to change AppName to your application name!
SkyHopper::Application.load_tasks

Crono.perform(Operation_worker).every 30.seconds
Crono.perform(ServerStateWorker).every 1.minute

# 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'
#
require 'rake'
# Be sure to change AppName to your application name!
SkyHopper::Application.load_tasks

Crono.perform(Operation_worker).every 30.seconds
Crono.perform(ServerStateWorker).every 30.seconds

Set ServerStateWorker's interval to 30 s
Set ServerStateWorker's interval to 30 s
