Add debug logging for cron execution status

This commit is contained in:
HB9HIL
2025-01-02 11:54:44 +01:00
parent 3f92fdcdc4
commit 11b932d1c2

View File

@@ -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";