Odoo
Cyllo

Queue Job Cron Jobrunner

This module implements a simple queue.job runner using ir.cron triggers.

Queue Job Cron Jobrunner implements a simple queue.job runner using ir.cron triggers. It's meant to be used on environments where the regular job runner can't be run, like on Odoo.sh. Unlike the regular job runner, where jobs are dispatched to the HttpWorkers, jobs are processed on the CronWorker threads by the job runner crons. This is a design decision because: Odoo.sh puts HttpWorkers to sleep when there's no network activity HttpWorkers are meant for traffic. Users shouldn't pay the price of background tasks. For now, it only implements the most basic features of the queue_job runner, notably no channel capacity nor priorities. Please check the ROADMAP for further details.

Key Features

  • Cron-Based Job Processing
  • Designed for Odoo.sh Environments
  • Parallel Job Execution
Cron-Based Job Processing (Alternative to HttpWorkers)

Uses ir.cron triggers to schedule and run queued jobs. Leverages dedicated CronWorker threads, separate from web traffic.

Designed for Odoo.sh Environments

Bypasses inactive HttpWorkers on Odoo.sh during low traffic periods. Offers a more cost-effective approach compared to active HttpWorkers.

Disabled tab content

Configuration

Make sure you have enough CronWorkers available (Odoo CLI --max-cron-threads)
Duplicate the queue_job_cron cron record as many times as needed, until you have as much records as cron workers.