Silence the log if in cron mode