public function date($date)
    {
        if (! $date instanceof DateTime) {
            $date = new DateTime($date);
        }

        $this->executionYear = $date->format('Y');

        return $this->at("{$date->format('i')} {$date->format('H')} {$date->format('d')} {$date->format('m')} *");
    }
public function date($date)
    {
        if (! $date instanceof DateTime) {
            $date = new DateTime($date);
        }

        $this->executionYear = $date->format('Y');

        return $this->at("{$date->format('i')} {$date->format('H')} {$date->format('d')} {$date->format('m')} *");
    }
public function date ( $ date ) { if ( ! $ date instanceof DateTime ) { $ date = new DateTime ( $ date ) ; } $ this -> executionYear = $ date -> format ( 'Y' ) ; return $ this -> at ( "{$date->format('i')} {$date->format('H')} {$date->format('d')} {$date->format('m')} *" ) ; }
Run the Job at a specific date.

@param  string/DateTime  $date
@return self
Run the Job at a specific date .