This commit is contained in:
parent
8dab976cba
commit
c2a9618f27
3
main.go
3
main.go
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user