mirror of
https://github.com/itflow-org/itflow
synced 2026-12-04 01:59:00 +00:00
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:
1
db.sql
1
db.sql
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user