Running in development

Running the agents for development mode requires spinning up a console (to run the cron), and oma-processors to do the work.

On OmaProcessors, the command you need is:

 export OMA_ENV=development; bundle exec resque work -q 'automation_pipeline.agent_receive' -r lib/oma-processors.rb -g

On an OMA console, the command that is the equivalent of the CRON running is:

CronJobs::AutomationPipeline::QueueOutdated.run

That will queue the jobs on the queue. Passing :log => true will enable logging even in production environments for just the jobs that were queued.

On the oma/admin panel, you can see what is happening with the workflow (the panel).

Last updated