Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
1
Share

TriggeredJobScheduler

Background scheduler for executing CRON triggered jobs.

Runs in a separate thread and checks every 60 seconds for jobs that need to be executed (where next_run_at <= now).

Functions
force_check @classmethod

Force an immediate check for jobs to run. Useful for testing or manual triggers.

init @classmethod

Initialize and start the scheduler thread. Should be called at server startup.

is_running @classmethod

Check if the scheduler is running

Return type : bool
stop @classmethod

Stop the scheduler thread.

Shine Logo
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.