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
019a63a941
commit
a117f2b96d
@ -145,11 +145,11 @@ func (jm *JobManager) start() {
|
||||
|
||||
/* monitor job execution */
|
||||
for {
|
||||
jm.status()
|
||||
//jm.status()
|
||||
if !jm.isRunning {
|
||||
break
|
||||
}
|
||||
time.Sleep(time.Second * 25)
|
||||
time.Sleep(time.Second * 1)
|
||||
}
|
||||
|
||||
/* make sure resources are released */
|
||||
|
Loading…
Reference in New Issue
Block a user