Setup
Installation and requirements
A cron job scheduler service for webtrees: schedule maintenance/batch jobs with standard cron expressions, watch their run history in the admin UI, and trigger them manually. The module is the service; the OS (classic cron or a systemd timer) only has to call one small script once per minute.
cj_job, cj_run)proc_open, no shell), with per-job timeout and captured outputcron-jobs.php
manifest or a getCronJobs() method); they appear here, created disabled and ready to enableEventQueue::push() call from other modules, by the built-in pseudo-event pollers, or by route eventsdata/offline.txt exists the tick is skipped before any database access
It was originally developed as a support module for LinkEnhancer to keep its indexes up to date.
Installation and requirements
Creating jobs, run history, and the admin UI
How the once-a-minute tick schedules and runs jobs
Event-driven jobs, webhooks, pseudo-events, and route events
How can other custom modules make use of this cronjob module?
Command-line scripts and maintenance
Security model and command validation