Cron in cakephp3

try to pass cron output to a log, you can do it by adding

 >> /var/log/cron.log 2>&1

at the end of cron job, check the log and fix whats in there