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