- run scheduleRoutine on startup
This commit is contained in:
@@ -185,9 +185,10 @@ func scheduleDailyRoutine() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func scheduleRoutine() {
|
func scheduleRoutine() {
|
||||||
|
RefreshJdLockStoreSku()
|
||||||
|
RefreshJdStoreSkuStock()
|
||||||
|
|
||||||
time.AfterFunc(stockRefreshGap, func() {
|
time.AfterFunc(stockRefreshGap, func() {
|
||||||
RefreshJdLockStoreSku()
|
|
||||||
RefreshJdStoreSkuStock()
|
|
||||||
scheduleRoutine()
|
scheduleRoutine()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user