Updated not to check CSRF for cron