Cron scripts should log using logApp

This commit is contained in:
wrongecho
2025-02-04 14:24:41 +00:00
parent 9218d828b0
commit 1ca31662f8
4 changed files with 12 additions and 8 deletions

View File

@@ -23,6 +23,7 @@ $config_enable_cron = intval($row['config_enable_cron']);
// Check cron is enabled
if ($config_enable_cron == 0) {
logApp("Cron-Domain-Refresher", "error", "Cron Domain Refresh unable to run - cron not enabled in admin settings.");
exit("Cron: is not enabled -- Quitting..");
}