OdooWiki OCA HUB

Scheduled Actions as Queue Jobs

queue_job_cron folder_open OCA/queue open_in_new
Generic Modules License: AGPL-3

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.0

Lets 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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

To install this module, you need to:

  • Just install it.

To 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.

info

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.