feat: There is no way the, 什么时候需求 在开启 定时更新7天内ES
This commit is contained in:
@@ -48,7 +48,7 @@ public class restSearchSync {
|
|||||||
|
|
||||||
// 每天0点1分执行 重置ES 自动更新、新增
|
// 每天0点1分执行 重置ES 自动更新、新增
|
||||||
// @Scheduled(cron="0 0 1 1 * ?")
|
// @Scheduled(cron="0 0 1 1 * ?")
|
||||||
@Scheduled(cron = "0 1 0 * * ?")
|
// @Scheduled(cron = "0 1 0 * * ?")
|
||||||
@Async
|
@Async
|
||||||
public void StandScheduledJobMonthBegin(){
|
public void StandScheduledJobMonthBegin(){
|
||||||
if(isNotScheduled){
|
if(isNotScheduled){
|
||||||
|
|||||||
Reference in New Issue
Block a user