Compare commits

..

1 Commits

Author SHA1 Message Date
c2a9618f27 🎨恢复定时任务 2024-06-14 10:25:53 +08:00

View File

@@ -7,6 +7,7 @@ import (
"net/http"
"time"
"wireguard-dashboard/config"
"wireguard-dashboard/cron_task"
"wireguard-dashboard/initialize"
"wireguard-dashboard/queues"
"wireguard-dashboard/route"
@@ -19,7 +20,7 @@ func init() {
log.Errorf("执行脚本失败: %v", err.Error())
}
go queues.StartConsumer() // 启动队列
//go cron_task.StartCronTask() // 启动定时任务
go cron_task.StartCronTask() // 启动定时任务
}
func main() {