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"},