From 11b932d1c29a7702c248e0504c0a13e740c056e8 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Thu, 2 Jan 2025 11:54:44 +0100 Subject: [PATCH] Add debug logging for cron execution status --- application/controllers/Cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Cron.php b/application/controllers/Cron.php index 6e2bbe883..e911e91e6 100644 --- a/application/controllers/Cron.php +++ b/application/controllers/Cron.php @@ -87,7 +87,7 @@ class cron extends CI_Controller { if ($isdue == true) { $isdue_result = 'true'; - // TODO Add log_message level debug here to have logging for the cron manager + log_message('debug', 'CRON: ' . $cron->id . ' is due and will be executed.'); echo "CRON: " . $cron->id . " -> is due: " . $isdue_result . "\n"; echo "CRON: " . $cron->id . " -> RUNNING...\n";