Add log in cron