Documentation
¶
Index ¶
Constants ¶
View Source
const ( TASK_SUCCESS = 0 TASK_ERROR = -1 TASK_TIMEOUT = -2 )
Variables ¶
This section is empty.
Functions ¶
func TaskLogAdd ¶
func TaskLogDelByTaskId ¶
func UpdateTask ¶
Types ¶
type Task ¶
type Task struct {
Id int `xorm:"pk"`
UserId int
GroupId int
Pid int
ServerId int
RunServer string
TaskName string
TaskType int
Description string
CronSpec string
Concurrent int
Command string
Status int
Notify int
NotifyEmail string
Timeout int
ExecuteTimes int
PrevTime int64
CreateTime int64
UpdatedAt int64 `xorm:"updated"`
}
func GetTaskById ¶
func GetTaskByPid ¶
Click to show internal directories.
Click to hide internal directories.