|
@@ -24,8 +24,8 @@ func Task() {
|
|
|
//FileCoalCoastal()
|
|
|
//FileCoalInland()
|
|
|
if utils.BusinessCode == utils.BusinessCodeRelease {
|
|
|
- refreshUsdaPsd := task.NewTask("RefreshUsdaPsd", "0 0 16 * * 5", DownloadUsdaPsdDataTask) //每周五下午16点
|
|
|
- refreshUsdaFms := task.NewTask("RefreshUsdaFms", "0 0 16 * * 5", DownloadUsdaFmsDataTask) //每周五下午16点
|
|
|
+ refreshUsdaPsd := task.NewTask("RefreshUsdaPsd", "0 0 16,19 * * 1,5", DownloadUsdaPsdDataTask) //每周一五下午16点,19点
|
|
|
+ refreshUsdaFms := task.NewTask("RefreshUsdaFms", "0 0 16,19 * * 1,5", DownloadUsdaFmsDataTask) //每周一五下午16点,19点
|
|
|
refreshData := task.NewTask("refreshData", "0 0,30 16-18 * * *", RefreshData)
|
|
|
refreshEic := task.NewTask("RefreshEic", "0 0 2,6 * * *", RefreshEic)
|
|
|
refreshCoal := task.NewTask("RefreshCoal", "0 0,30 16-23 * * *", RefreshCoal)
|