diff --git a/index.php b/index.php index 7105f75..f435fc4 100644 --- a/index.php +++ b/index.php @@ -158,7 +158,9 @@ $f3->route('GET /cron', function($f3) { } } foreach ($messages as $message) { - echo date('Y.m.d'). ' ' .$datestring . ' '. $message['message']; + // echo date('Y.m.d'). ' ' .$datestring . ' '. $message['message']; + $logger = new Log('cron.log'); + $logger->write( $message['message']); } }