메소드 |
설명 |
|
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 |
|
find ( array $task_ids ) : array |
Returns array of tasks with specified ids |
|
getAll ( ) : array |
Returns array of all tasks |
|
getCommand ( ) : mixed |
|
|
getComment ( ) : mixed |
|
|
getStatus ( ) : mixed |
|
|
getTaskId ( ) : mixed |
|
|
getTime ( ) : mixed |
|
|
getTs ( ) : mixed |
|
|
getTsUpdated ( ) : mixed |
|
|
setCommand ( mixed $command ) |
|
|
setComment ( mixed $comment ) |
|
|
setStatus ( mixed $status ) |
|
|
setTaskId ( integer $task_id ) |
|
|
setTime ( mixed $time ) |
|
|
setTs ( mixed $ts ) |
|
|
setTsUpdated ( mixed $ts ) |
|
|
taskDelete ( ) : mixed |
Deletes the task |
|
taskFileLoad ( ) : array |
Reads file from disk and returns array of tasks |
|
taskFileSave ( array $tasks ) : boolean |
Writes tasks into file |
|
taskGet ( integer $task_id ) : mult1mate\crontab\TaskInterface |
Returns tasks with given id |
|
taskSave ( ) : mixed |
Saves the task |
|