mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user