mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 13:54:51 +00:00
Fix notification action log path for cron successully run
This commit is contained in:
2
cron.php
2
cron.php
@@ -968,7 +968,7 @@ if ($updates->current_version !== $updates->latest_version) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Send Alert to inform Cron was run
|
// Send Alert to inform Cron was run
|
||||||
mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Cron', notification = 'Cron successfully executed', notification_action = 'admin_logs.php'");
|
mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Cron', notification = 'Cron successfully executed', notification_action = 'admin_audit_log.php'");
|
||||||
|
|
||||||
// Logging
|
// Logging
|
||||||
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Cron', log_action = 'Ended', log_description = 'Cron executed successfully'");
|
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Cron', log_action = 'Ended', log_description = 'Cron executed successfully'");
|
||||||
|
|||||||
Reference in New Issue
Block a user