Bug fixes

This commit is contained in:
LittleSheep 2024-02-18 16:35:28 +08:00
parent e429627ecf
commit 272fe6f2c2

View File

@ -54,7 +54,7 @@ func main() {
// Configure timed tasks
quartz := cron.New(cron.WithLogger(cron.VerbosePrintfLogger(&log.Logger)))
quartz.AddFunc("@every 15s", func() {
quartz.AddFunc("@every 60m", func() {
log.Info().Msg("Running auto sign off...")
if tx := services.PerformAutoSignoff(); tx.Error != nil {
log.Error().Err(tx.Error).Msg("An error occurred when running auto sign off...")