fix: user deletion schedule
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2021-12-12 12:29:05 +01:00
parent 70e005e7ce
commit 5c88dfe88e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

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())
}