Follow up - 4c9919a23e - Scheduler fails to execute ActiveJobLock cleanup job before application restart and deactivates it.

This commit is contained in:
Thorsten Eckel 2020-01-23 12:45:58 +01:00
parent dd54f8a787
commit fa2ff2138b

View file

@ -6,6 +6,7 @@ class ActiveJobLockCleanupJobScheduler < ActiveRecord::Migration[5.2]
name: 'Cleanup ActiveJob locks.',
method: 'ActiveJobLockCleanupJob.perform_now',
period: 1.day,
last_run: Time.zone.now,
prio: 2,
active: true,
updated_by_id: 1,