# 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).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://omalab.gitbook.io/guide/engineering-wiki/processors-automation-pipeline/running-in-development.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
