Commit 5e2e3d70 authored by 位宇华's avatar 位宇华

修改cron表达式

parent 91596f94
......@@ -21,10 +21,10 @@ public class ScheduleTask {
}
/**
* 每月1号零点执行一次
* 每月5号零点执行一次
*/
@Async
@Scheduled(cron = "0 0 0 1 * ?")
@Scheduled(cron = "0 0 5 * * ?")
public void scheduleTask() {
dataSyncService.sync();
logger.info("定时任务执行成功!!!!!!");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment