diff --git a/library/includes/cron/jobs/demo_mode.php b/library/includes/cron/jobs/demo_mode.php index 5db553887..d7c37d97c 100644 --- a/library/includes/cron/jobs/demo_mode.php +++ b/library/includes/cron/jobs/demo_mode.php @@ -42,8 +42,10 @@ foreach ($sql_dump as $line) { $temp_line .= $line; if (str_ends_with(trim($line), ';')) { if (!DB()->query($temp_line)) { - $cron_runtime_log = 'Error performing query: ' . $temp_line . ' | ' . DB()->sql_error()['message']; + $cron_runtime_log = date('Y-m-d H:i:s') . "Error performing query: " . $temp_line . " | " . DB()->sql_error()['message']; } $temp_line = ''; } } + +$cron_runtime_log = date('Y-m-d H:i:s') . " -- Tables imported successfully!";