Fixed module name.
This commit is contained in:
parent
990c37e16e
commit
b6094a3e84
2 changed files with 16 additions and 1 deletions
|
@ -23,7 +23,7 @@ class SchedulerUpdate < ActiveRecord::Migration
|
||||||
)
|
)
|
||||||
Scheduler.create_or_update(
|
Scheduler.create_or_update(
|
||||||
:name => 'Generate Session data',
|
:name => 'Generate Session data',
|
||||||
:method => 'Session.jobs',
|
:method => 'Sessions.jobs',
|
||||||
:period => 60,
|
:period => 60,
|
||||||
:prio => 1,
|
:prio => 1,
|
||||||
:active => true,
|
:active => true,
|
||||||
|
|
15
db/migrate/20130826000001_update_scheduler2
Normal file
15
db/migrate/20130826000001_update_scheduler2
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
class UpdateScheduler2 < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
Scheduler.create_or_update(
|
||||||
|
:name => 'Generate Session data',
|
||||||
|
:method => 'Sessions.jobs',
|
||||||
|
:period => 60,
|
||||||
|
:prio => 1,
|
||||||
|
:active => true,
|
||||||
|
:updated_by_id => 1,
|
||||||
|
:created_by_id => 1,
|
||||||
|
)
|
||||||
|
end
|
||||||
|
def down
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue