@ -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']);