Метод |
Описание |
|
createNew ( ) : mult1mate\crontab\TaskInterface |
Creates new task object and returns it |
|
createTaskRun ( ) : mult1mate\crontab\TaskRunInterface |
Creates new task run object for current task and returns it |
|
getAll ( ) : array |
Returns array of all tasks |
|
getCommand ( ) : string |
|
|
getComment ( ) : string |
|
|
getStatus ( ) : string |
|
|
getTaskId ( ) : integer |
|
|
getTime ( ) : string |
|
|
getTs ( ) : string |
|
|
getTsUpdated ( ) : string |
|
|
setCommand ( string $command ) |
|
|
setComment ( string $comment ) |
|
|
setStatus ( string $status ) |
|
|
setTime ( string $time ) |
|
|
setTs ( string $ts ) |
|
|
setTsUpdated ( string $ts ) |
|
|
taskDelete ( ) : mixed |
Deletes the task |
|
taskGet ( integer $task_id ) : mult1mate\crontab\TaskInterface |
Returns tasks with given id |
|
taskSave ( ) : mixed |
Saves the task |
|