omnilight\scheduling\Schedule::command PHP Method

command() public method

Add a new cli command event to the schedule.
public command ( string $command ) : Event
$command string
return Event
    public function command($command)
    {
        return $this->exec(PHP_BINARY . ' ' . $this->cliScriptName . ' ' . $command);
    }