Cron mail queue - fix app_log_type not being one of available enums

This commit is contained in:
Marcus Hill
2025-05-27 14:05:09 +01:00
parent 336da073f1
commit c486682a0e

View File

@@ -46,12 +46,12 @@ if (file_exists($lock_file_path)) {
unlink($lock_file_path); unlink($lock_file_path);
// Logging // Logging
logApp("Cron-Mail-Queue", "Delete", "Cron Mail Queue detected a lock file was present but was over 10 minutes old so it removed it."); logApp("Cron-Mail-Queue", "warning", "Cron Mail Queue detected a lock file was present but was over 10 minutes old so it removed it.");
} else { } else {
// Logging // Logging
logApp("Cron-Mail-Queue", "Locked", "Cron Mail Queue attempted to execute but was already executing so instead it terminated."); logApp("Cron-Mail-Queue", "info", "Cron Mail Queue attempted to execute but was already executing so instead it terminated.");
exit("Script is already running. Exiting."); exit("Script is already running. Exiting.");
} }