update:用户数据同步修改1.开启定时任务,每天凌晨2点执行 2.已离职用户的数据过滤

This commit is contained in:
wangxiahui@91isoft.com
2022-05-23 14:37:00 +08:00
parent 4347f9d209
commit 426728c359
2 changed files with 4 additions and 3 deletions
@@ -23,8 +23,8 @@ public class ScheduledSync {
private IDataSyncService iDataSyncService;
// @Scheduled(cron = "0 */40 * * * ?") //40分钟执行同步一次
// @Scheduled(cron="*/5 * * * * ?")
//每天凌晨两点执行
@Scheduled(cron="0 0 2 * * ?")
@Async
public void syncSchedulingTasks() throws Exception {