This module extends the functionality of queue_job and allows to run an Odoo cron as a queue job.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets you run any scheduled action (cron) through the queue job system instead of directly, with its own channel and an option to skip overlapping runs.
This module adds options on scheduled actions so they can be executed as background queue jobs rather than being run directly by Odoo's scheduler.
On the Scheduled Actions screen (the ir.cron form) you get three new fields after the priority:
- "Run as Queue Job": turn it on to send the action to the queue.
- "No Parallel Queue Job Run": only shown when the previous option is on; it is enabled by default and skips a new run if the same job is already running.
- "Channel": only shown when running as a queue job, and required in that case. It defaults to a dedicated "ir_cron" channel under the root queue channel.
The same "Run as Queue Job" flag is also visible in the scheduled actions list and can be used in the search filters.
When a scheduled action is marked this way, triggering it (including the manual "Run Manually" button) does not execute it immediately: it is delayed into the queue with the action's priority, name and channel. If the no-parallel option is on, an exact identity key is used so duplicate runs are avoided. A queue job function and channel are pre-configured for this purpose.
Depends on
Models and fields (1)
- ir.cron · extends an existing modelchannel_id (Channel), run_as_queue_job, no_parallel_queue_job_run
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/queue.
terminal Installation and usage
OCA documentation · Odoo 18.0Installation
Source · Odoo 18.0To install this module, you need to:
- Just install it.
Usage
Source · Odoo 18.0To use this module, you need to:
- Go to a scheduled action, a flag "Run as queue job" will allow you
to run the action as a queue job. You will also allowed to select a channel of its execution. To configure dedicated channels please refers to queue_job help:
Channels can be used to manage sequential jobs and prevent concurrency accesses. To do that you just have to define a channel per cron limited to 1 at time.
No verified information in OCA: Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.