argument('domain'))->singleOrFail(); $ao = NULL; if ($this->option('netmail')) { $ao = Address::findFTN($this->option('netmail')); if (! $ao) { $this->error('Address not found: '.$this->option('netmail')); return self::FAILURE; } } return Job::dispatchSync($do,$this->option('date') ? Carbon::parse($this->option('date')) : Carbon::parse('last saturday'),$ao); } }