1
This commit is contained in:
@@ -30,7 +30,7 @@ public class LogisticsScanTask {
|
||||
* Cron表达式格式:0 每N分钟 * * * ? 表示每N分钟执行一次
|
||||
* 只扫描最近30天的订单
|
||||
*/
|
||||
@Scheduled(cron = "0 */20 * * * ?")
|
||||
@Scheduled(cron = "0 */10 * * * ?")
|
||||
public void scanAndFetchLogistics() {
|
||||
logger.info("========== 开始执行物流信息扫描定时任务(最近30天订单) ==========");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user