fix: user deletion schedule

This commit is contained in:
kolaente 2021-12-12 12:29:05 +01:00
parent 70e005e7ce
commit 5c88dfe88e
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -34,7 +34,7 @@ import (
// RegisterUserDeletionCron registers the cron job that actually removes users who are scheduled to delete.
func RegisterUserDeletionCron() {
err := cron.Schedule("* * * * *", deleteUsers)
err := cron.Schedule("0 * * * *", deleteUsers)
if err != nil {
log.Errorf("Could not register deletion cron: %s", err.Error())
}