Cron and runs outside it (DB 4.4.2): old crontab lines that run job scripts on their own, like those the install script left in /etc/cron.d/itflow before 26.08, are listed on Maintenance > Cron, Debug and in Cron Watch's email (cronStrayLines()); such a run without a terminal steps aside while cron.php is running, and one cron.php finds holding the lock is recorded on the job (cron_job_outside_at) and said as started by something other than cron.php instead of fallen behind; a lock file the dispatcher can't open fails only that job with the file to delete instead of ending the cycle; cron started as root becomes the user that owns ITFlow's files first (cronLockRunAsOwner()); 26.12.5 changelog and CONTRIBUTING.md

This commit is contained in:
johnnyq
2026-12-02 18:58:46 -05:00
parent 9e74c0240a
commit 0c7b521f57
10 changed files with 436 additions and 19 deletions

1
db.sql
View File

@@ -1449,6 +1449,7 @@ CREATE TABLE `cron_jobs` (
`cron_job_last_status` varchar(200) DEFAULT NULL,
`cron_job_last_error` text DEFAULT NULL,
`cron_job_last_error_at` datetime DEFAULT NULL,
`cron_job_outside_at` datetime DEFAULT NULL,
PRIMARY KEY (`cron_job_id`),
UNIQUE KEY `cron_job_name` (`cron_job_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;