Sha256: e8ec778911f9608654c21d9d4f98629e532c2d688e8fc9957baa2bfe2601d97e

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

namespace :re do
  
  desc "create and run  job"   
  task :run => :environment do
    
    job_id = RulesEngine::JobRunner.create_job      
    puts "Created Job - job_id : #{Time.now.to_s} "  
    
    RulesEngine::JobRunner.run_pipleine(job_id, 'test', {})
    
  end  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rules_engine-0.0.1 rails_generators/templates/lib/tasks/re_runner.rake