Browse Source

Moved to execute job all 12 hours.

Martin Edenhofer 9 years ago
parent
commit
a2656bf1d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      db/migrate/20150701000001_add_cleanup.rb

+ 1 - 1
db/migrate/20150701000001_add_cleanup.rb

@@ -14,7 +14,7 @@ class AddCleanup < ActiveRecord::Migration
     Scheduler.create_or_update(
       name: 'Delete old online notification entries.',
       method: 'OnlineNotification.cleanup',
-      period: 1.day,
+      period: 12.hours,
       prio: 2,
       active: true,
       updated_by_id: 1,