This commit is contained in:
sxu 2024-08-15 09:25:24 +08:00
parent 69c3b7a0fb
commit 0d2c680eac
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ public class Inform {
private String settlementJobDay; private String settlementJobDay;
//@Scheduled(cron = "0 */3 * * * ? ") // 间隔3分钟执行 //@Scheduled(cron = "0 */3 * * * ? ") // 间隔3分钟执行
@Scheduled(cron = "${job.settlementJobCron}") // 结算日次日凌晨执行 @Scheduled(cron = "${sgzb.job.settlementJobCron}") // 结算日次日凌晨执行
@Async @Async
public void taskCycle() { public void taskCycle() {
System.out.println("===springMVC定时器启动===="); System.out.println("===springMVC定时器启动====");