diff --git a/app/jobs/enqueue_nightly_query_runner_jobs.rb b/app/jobs/enqueue_nightly_query_runner_job.rb similarity index 78% rename from app/jobs/enqueue_nightly_query_runner_jobs.rb rename to app/jobs/enqueue_nightly_query_runner_job.rb index 499e7c3b1..e4591a5b7 100644 --- a/app/jobs/enqueue_nightly_query_runner_jobs.rb +++ b/app/jobs/enqueue_nightly_query_runner_job.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class EnqueueNightlyQueryRunnerJobs < ApplicationJob +class EnqueueNightlyQueryRunnerJob < ApplicationJob queue_as :default def perform diff --git a/config/recurring.yml b/config/recurring.yml index 56c59d771..53aa4d56a 100644 --- a/config/recurring.yml +++ b/config/recurring.yml @@ -21,7 +21,7 @@ production: schedule: every hour nightly_jobs_command2: - class: EnqueueNightlyQueryRunnerJobs + class: EnqueueNightlyQueryRunnerJob schedule: every minute