Usually: Script needs environment variables PHP CLI has a different version than web PHP Composer autoload is not built Cron timeout or memory limit