omnilight\scheduling\Schedule::exec PHP Method

exec() public method

Add a new command event to the schedule.
public exec ( string $command ) : Event
$command string
return Event
    public function exec($command)
    {
        $this->_events[] = $event = new Event($command);
        return $event;
    }