1、新增服务器资源添加 (新增数据表pp_task_server)
2、新增远程服务器任务执行
3、删除邮件通知功能(pp_task删除两个有关字段)
This commit is contained in:
郝大全
2017-08-17 11:49:53 +08:00
parent 2f15d46d83
commit 3c87908dde
25 changed files with 939 additions and 276 deletions

View File

@@ -22,6 +22,7 @@ const (
type Task struct {
Id int
UserId int
ServerId int
GroupId int
TaskName string
TaskType int
@@ -30,8 +31,6 @@ type Task struct {
Concurrent int
Command string
Status int
Notify int
NotifyEmail string
Timeout int
ExecuteTimes int
PrevTime int64