argument('siteid')); Config::set('site',$site); $uo = User::where('email',$this->argument('user'))->singleOrFail(); $so = ProviderOauth::where('name',$this->argument('provider'))->singleOrFail(); if (! ($to=$so->token($uo))) abort(500,sprintf('Unknown Tokens for [%s]',$uo->email)); Job::dispatchSync($to); } }