mirror of
https://github.com/itflow-org/itflow
synced 2026-03-09 07:14:51 +00:00
Cron mail queue - fix app_log_type not being one of available enums
This commit is contained in:
@@ -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.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user