From cb7d44fd726af2b64dbde88cc8e68f500c132947 Mon Sep 17 00:00:00 2001 From: divyam234 <47589864+divyam234@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:32:35 +0530 Subject: [PATCH] Update main.go --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index f2c76b9..02a42f3 100644 --- a/main.go +++ b/main.go @@ -39,7 +39,7 @@ func main() { scheduler := gocron.NewScheduler(time.UTC) - scheduler.Every(4).Hours().Do(cron.FilesDeleteJob) + scheduler.Every(1).Hours().Do(cron.FilesDeleteJob) router.Use(cors.New(cors.Config{ AllowMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"},