From b1bd95322060fd324acbbfabf614405095bd4953 Mon Sep 17 00:00:00 2001 From: divyam234 <47589864+divyam234@users.noreply.github.com> Date: Mon, 28 Aug 2023 14:01:51 +0530 Subject: [PATCH] Update main.go --- main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.go b/main.go index ae4f191..7a4779c 100644 --- a/main.go +++ b/main.go @@ -31,9 +31,7 @@ func main() { cache.CacheInit() utils.InitBotClients() - - cron.FilesDeleteJob() - + scheduler := gocron.NewScheduler(time.UTC) scheduler.Every(1).Hours().Do(cron.FilesDeleteJob)