123456789101112131415161718192021 |
- package services
- import (
- "eta/eta_task/utils"
- )
- func XyTask() {
- if utils.IsXy != "1" {
- return
- }
- //eta_bridge.SyncIndexList(nil)
- //eta_bridge.SyncIndexValueList(nil)
- //eta_bridge.SyncClassifyList(nil)
- //eta_bridge.SyncEdbClassifyList(nil)
- //return
- // 每天同步一次指标列表
- //syncIndex := task.NewTask("syncZhongJiIndexList", "0 0 17 * * *", eta_bridge.SyncIndexList)
- //task.AddTask("定时同步指标列表", syncIndex)
- }
|