mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-01-08 08:10:05 +08:00
Update main.go
This commit is contained in:
parent
2cf0ad7d01
commit
b1bd953220
1 changed files with 1 additions and 3 deletions
4
main.go
4
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)
|
||||
|
|
Loading…
Reference in a new issue