Commit 38b7cff1 authored by zhangwanglin's avatar zhangwanglin

定时test

parent bd5f992a
...@@ -21,7 +21,7 @@ public class SrvTaskScheduledController { ...@@ -21,7 +21,7 @@ public class SrvTaskScheduledController {
@Autowired @Autowired
private SrvTaskService srvTaskService; private SrvTaskService srvTaskService;
@Scheduled(cron = "0 30 03 * * ?") @Scheduled(cron = "0 40 03 * * ?")
public void timeAllocationSrvTask() { public void timeAllocationSrvTask() {
log.info("timeAllocationSrvTask========start"); log.info("timeAllocationSrvTask========start");
srvTaskService.timeAllocationSrvTask(); srvTaskService.timeAllocationSrvTask();
......
package com.hungraim.ltc.system.service;
public interface SrvTaskScheduledService {
void timeAllocationSrvTask();
}
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