mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 00:47:26 +01:00
Start footprint service
This commit is contained in:
parent
c459724114
commit
47b14f932e
@ -16,7 +16,7 @@ import (
|
||||
"github.com/go-co-op/gocron/v2"
|
||||
)
|
||||
|
||||
func registerFootprintWorker() {
|
||||
func RegisterFootprintWorker() {
|
||||
log.Info("Register Footprint Update service")
|
||||
d, _ := time.ParseDuration("10m")
|
||||
s.NewJob(gocron.DurationJob(d),
|
||||
|
@ -79,6 +79,8 @@ func Start() {
|
||||
RegisterLdapSyncService(lc.SyncInterval)
|
||||
}
|
||||
|
||||
RegisterFootprintWorker()
|
||||
|
||||
s.Start()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user