Skip to content

Commit

Permalink
chore: change the frequency of auto-cert cron task
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Feb 15, 2023
1 parent a63ed74 commit 705d71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func prog(state overseer.State) {
}

s := gocron.NewScheduler(time.UTC)
job, err := s.Every(1).Minute().SingletonMode().Do(cert.AutoObtain)
job, err := s.Every(30).Minute().SingletonMode().Do(cert.AutoObtain)

if err != nil {
log.Fatalf("AutoCert Job: %v, Err: %v\n", job, err)
Expand Down

0 comments on commit 705d71d

Please sign in to comment.