20160109000001_update_channel2.rb 281 B

123456789101112131415
  1. class UpdateChannel2 < ActiveRecord::Migration
  2. def up
  3. Scheduler.create_or_update(
  4. name: 'Check streams for Channel ',
  5. method: 'Channel.stream',
  6. period: 60,
  7. prio: 1,
  8. active: true,
  9. updated_by_id: 1,
  10. created_by_id: 1,
  11. )
  12. end
  13. end