# config/schedule.yml

bulk_stats_calculating_job:
  cron: "0 */1 * * *" # every 1 hour
  class: "BulkStatsCalculatingJob"
  queue: stats

area_visits_calculation_scheduling_job:
  cron: "0 0 * * *" # every day at 0:00
  class: "AreaVisitsCalculationSchedulingJob"
  queue: visit_suggesting

visit_suggesting_job:
  cron: "5 0 * * *" # every day at 00:05
  class: "BulkVisitsSuggestingJob"
  queue: visit_suggesting

watcher_job:
  cron: "0 */1 * * *" # every 1 hour
  class: "Import::WatcherJob"
  queue: imports

app_version_checking_job:
  cron: "0 */6 * * *" # every 6 hours
  class: "AppVersionCheckingJob"
  queue: default

cache_preheating_job:
  cron: "0 0 * * *" # every day at 0:00
  class: "Cache::PreheatingJob"
  queue: default

place_name_fetching_job:
  cron: "30 0 * * *" # every day at 00:30
  class: "Places::BulkNameFetchingJob"
  queue: places

daily_track_generation_job:
  cron: "0 */4 * * *" # every 4 hours
  class: "Tracks::DailyGenerationJob"
  queue: tracks

nightly_reverse_geocoding_job:
  cron: "15 1 * * *" # every day at 01:15
  class: "Points::NightlyReverseGeocodingJob"
  queue: reverse_geocoding

nightly_family_invitations_cleanup_job:
  cron: "30 2 * * *" # every day at 02:30
  class: "Family::Invitations::CleanupJob"
  queue: family
