This commit is contained in:
@@ -9,10 +9,10 @@ import (
|
||||
"runtime/pprof"
|
||||
"time"
|
||||
|
||||
"code.gitea.io/gitea/modules/graceful"
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
"code.gitea.io/gitea/modules/process"
|
||||
"code.gitea.io/gitea/modules/translation"
|
||||
"gitea.dev/modules/graceful"
|
||||
"gitea.dev/modules/log"
|
||||
"gitea.dev/modules/process"
|
||||
"gitea.dev/modules/translation"
|
||||
|
||||
"github.com/go-co-op/gocron/v2"
|
||||
)
|
||||
@@ -111,7 +111,7 @@ func ListTasks() TaskTable {
|
||||
spec = tags[1] // the second tag is the task spec
|
||||
}
|
||||
next, _ = e.NextRun()
|
||||
prev, _ = e.LastRun()
|
||||
prev, _ = e.LastRunStartedAt()
|
||||
}
|
||||
|
||||
task.lock.Lock()
|
||||
|
||||
Reference in New Issue
Block a user