Moved to execute job all 12 hours.

This commit is contained in:
Martin Edenhofer 2015-07-04 01:08:25 +02:00
parent 44593cd800
commit a2656bf1d1

View file

@ -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,