mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-06 05:51:54 +00:00
update
This commit is contained in:
parent
0434dc2fce
commit
e5109db709
@ -48,6 +48,7 @@ func serverAPI(w http.ResponseWriter, r *http.Request) {
|
||||
job.Tasks[i].ID = job.Name + ":" + job.Tasks[i].Name
|
||||
job.Tasks[i].Job = job.Name
|
||||
}
|
||||
job.CreatedAt = int(time.Now().Unix())
|
||||
scheduler.Schedule(job)
|
||||
}
|
||||
js, err := json.Marshal(msgSubmit)
|
||||
|
Loading…
Reference in New Issue
Block a user