- run scheduleRoutine on startup

This commit is contained in:
gazebo
2018-11-07 13:36:07 +08:00
parent 62a7a57730
commit a5983d3e38

View File

@@ -185,9 +185,10 @@ func scheduleDailyRoutine() {
}
func scheduleRoutine() {
RefreshJdLockStoreSku()
RefreshJdStoreSkuStock()
time.AfterFunc(stockRefreshGap, func() {
RefreshJdLockStoreSku()
RefreshJdStoreSkuStock()
scheduleRoutine()
})
}