diff --git a/api/daily/common.go b/api/daily/common.go index 84b8167..056aeb3 100644 --- a/api/daily/common.go +++ b/api/daily/common.go @@ -40,8 +40,9 @@ import ( const secondsPerDay = 60 * 60 * 24 var ( - scheduler = cron.New(cron.WithLocation(time.UTC)) - secret []byte + scheduler = cron.New(cron.WithLocation(time.UTC)) + s3scheduler = cron.New(cron.WithLocation(time.UTC)) + secret []byte ) func Init() error {