Removed uneeded logging with the mail queue start and end logs

This commit is contained in:
johnnyq
2023-06-20 20:50:55 -04:00
parent 53f05a9469
commit c6afe0b3cf

View File

@@ -28,15 +28,6 @@ if ( $argv[1] !== $config_cron_key ) {
exit("Cron Key invalid -- Quitting.."); exit("Cron Key invalid -- Quitting..");
} }
/*
* ###############################################################################################################
* STARTUP ACTIONS
* ###############################################################################################################
*/
//Logging
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Cron', log_action = 'Started', log_description = 'Cron started processing emails from the queue'");
// Process Mail Queue // Process Mail Queue
// Get Mail Queue that hasnt been sent yet // Get Mail Queue that hasnt been sent yet
@@ -148,13 +139,3 @@ if (mysqli_num_rows($sql_failed_queue) > 0) {
} }
} }
} }
/*
* ###############################################################################################################
* FINISH UP
* ###############################################################################################################
*/
// Logging
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Cron', log_action = 'Ended', log_description = 'Cron finished processing the mail queue'");