Commit 6e1cf5c9 by 雷紫添

添加任务调度

parent f3a31c11
......@@ -26,10 +26,10 @@ public class ScheduleTask {
private Logger logger= LoggerFactory.getLogger(ScheduleTask.class);
@Scheduled(cron = "1 1 1 1/1 * ?")
@Scheduled(cron = "1 1 1 1/1 4 ?")
public void taskForDictUpdate(){
logger.info("This is a say method!"+format.format(new Date()));
xxbsSerevice();
// xxbsSerevice();
}
private void xxbsSerevice(){
......
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