Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hzjtpushwebsocket
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gszd
hzjtpushwebsocket
Commits
eca3a4e1
Commit
eca3a4e1
authored
Jun 01, 2021
by
wangjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时推送
parent
2563e89c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/main/java/com/hzjt/config/ScheduleTaskConfig.java
src/main/java/com/hzjt/config/ScheduleTaskConfig.java
+1
-1
No files found.
src/main/java/com/hzjt/config/ScheduleTaskConfig.java
View file @
eca3a4e1
...
@@ -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"
);
//查询所有未推送的数据
//查询所有未推送的数据
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment