✨ Bug fixes
This commit is contained in:
parent
e429627ecf
commit
272fe6f2c2
@ -54,7 +54,7 @@ func main() {
|
|||||||
|
|
||||||
// Configure timed tasks
|
// Configure timed tasks
|
||||||
quartz := cron.New(cron.WithLogger(cron.VerbosePrintfLogger(&log.Logger)))
|
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...")
|
log.Info().Msg("Running auto sign off...")
|
||||||
if tx := services.PerformAutoSignoff(); tx.Error != nil {
|
if tx := services.PerformAutoSignoff(); tx.Error != nil {
|
||||||
log.Error().Err(tx.Error).Msg("An error occurred when running auto sign off...")
|
log.Error().Err(tx.Error).Msg("An error occurred when running auto sign off...")
|
||||||
|
Loading…
Reference in New Issue
Block a user