Fixing cron in production mode