Sha256: 71c02a623faf8d188ff728648e2a9b169c55741efbf9d1211db5e9e97f1a1a0f

Contents?: true

Size: 411 Bytes

Versions: 52

Compression:

Stored size: 411 Bytes

Contents

# This migration comes from erp_tech_svcs (originally 20110802200222)
class ScheduleDeleteExpiredSessionsJob
  
  def self.up
    #insert data here
    date = Date.tomorrow
    start_time = DateTime.civil(date.year, date.month, date.day, 2, 0, 1, -(5.0/24.0))

    ErpTechSvcs::Sessions::DeleteExpiredSessionsJob.schedule_job(start_time)
  end
  
  def self.down
    #remove data here
  end

end

Version data entries

52 entries across 52 versions & 18 rubygems

Version Path
erp_financial_accounting-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_communication_events-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
compass_ae_console-2.0.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_work_effort-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_inventory-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_commerce-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_txns_and_accts-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_orders-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_products-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_agreements-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_app-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_tech_svcs-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb