Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Setup cron

vishnukvmda15084374b43
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.go
index 0824cc8581..b5ec166662 100644
--- a/server/cmd/museum/main.go
+++ b/server/cmd/museum/main.go
@@ -989,6 +989,10 @@ func setupAndStartCrons(userAuthRepo *repo.UserAuthRepository, publicCollectionR
emailNotificationCtrl.SendStorageLimitExceededMails()
})
+ scheduleAndRun(c, "@every 24h", func() {
+ emailNotificationCtrl.SayHelloToCustomers()
+ })
+
schedule(c, "@every 1m", func() {
pushController.SendPushes()
})