Moved to execute job all 12 hours.
This commit is contained in:
parent
44593cd800
commit
a2656bf1d1
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class AddCleanup < ActiveRecord::Migration
|
||||||
Scheduler.create_or_update(
|
Scheduler.create_or_update(
|
||||||
name: 'Delete old online notification entries.',
|
name: 'Delete old online notification entries.',
|
||||||
method: 'OnlineNotification.cleanup',
|
method: 'OnlineNotification.cleanup',
|
||||||
period: 1.day,
|
period: 12.hours,
|
||||||
prio: 2,
|
prio: 2,
|
||||||
active: true,
|
active: true,
|
||||||
updated_by_id: 1,
|
updated_by_id: 1,
|
||||||
|
|
Loading…
Reference in a new issue