mirror of https://github.com/portainer/portainer
feat(api): remove cron second support
parent
9aa52a6975
commit
d717ad947b
|
@ -13,7 +13,7 @@ type JobScheduler struct {
|
||||||
// NewJobScheduler initializes a new service
|
// NewJobScheduler initializes a new service
|
||||||
func NewJobScheduler() *JobScheduler {
|
func NewJobScheduler() *JobScheduler {
|
||||||
return &JobScheduler{
|
return &JobScheduler{
|
||||||
cron: cron.New(cron.WithSeconds()),
|
cron: cron.New(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue