Commit eca3a4e1 authored by wangjinjing's avatar wangjinjing

定时推送

parent 2563e89c
...@@ -83,7 +83,7 @@ public class ScheduleTaskConfig { ...@@ -83,7 +83,7 @@ public class ScheduleTaskConfig {
/*** /***
* 每5分钟执行一次查询车流推送给广达 * 每5分钟执行一次查询车流推送给广达
*/ */
@Scheduled(fixedDelay = 1000*5) @Scheduled(cron = "0 */5 * * * ?")
private void sendToguangdaDevice() { private void sendToguangdaDevice() {
log.info("fiveflow sendto guangda" ); log.info("fiveflow sendto guangda" );
//查询所有未推送的数据 //查询所有未推送的数据
......
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