protected function crontabCommand(Crontab $crontab)
    {
        $cmd = $this->getCrontabExecutable();
        if ($crontab->getUser()) {
            $cmd .= sprintf(' -u %s ', $crontab->getUser());
        }

        return $cmd;
    }
protected function crontabCommand(Crontab $crontab)
    {
        $cmd = $this->getCrontabExecutable();
        if ($crontab->getUser()) {
            $cmd .= sprintf(' -u %s ', $crontab->getUser());
        }

        return $cmd;
    }
protected function crontabCommand ( Crontab $ crontab ) { $ cmd = $ this -> getCrontabExecutable ( ) ; if ( $ crontab -> getUser ( ) ) { $ cmd .= sprintf ( ' -u %s ' , $ crontab -> getUser ( ) ) ; } return $ cmd ; }
Calcuates crontab command

@param Crontab $crontab

@return string
Calcuates crontab command