Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
Project
Project
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
data-spider
baihang-report
Commits
f54043b0
Commit
f54043b0
authored
Mar 04, 2021
by
郑建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂停定时任务报送
parent
e0da3063
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
QuantGroupZhuDaiReportToBaiHang.java
...uantgroup/report/job/QuantGroupZhuDaiReportToBaiHang.java
+1
-1
RoutineWorkTask.java
src/main/java/cn/quantgroup/report/job/RoutineWorkTask.java
+2
-2
No files found.
src/main/java/cn/quantgroup/report/job/QuantGroupZhuDaiReportToBaiHang.java
View file @
f54043b0
...
...
@@ -47,7 +47,7 @@ public class QuantGroupZhuDaiReportToBaiHang {
@Async
//@Scheduled(cron = "0 0 05 * * ?")
@Scheduled
(
cron
=
"0 0 03 * * ?"
)
//
@Scheduled(cron = "0 0 03 * * ?")
public
void
startZhuDaiReport
(){
if
(
increment
()){
redisTemplate
.
expire
(
Constant
.
QG_ZHU_DAI_REPORT_LOCK_KEY
,
10
,
TimeUnit
.
SECONDS
);
...
...
src/main/java/cn/quantgroup/report/job/RoutineWorkTask.java
View file @
f54043b0
...
...
@@ -68,7 +68,7 @@ public class RoutineWorkTask {
public
String
BACKLOG_DELAY_DAY
;
@Async
@Scheduled
(
cron
=
"0 0 18 * * ?"
)
//
@Scheduled(cron = "0 0 18 * * ?")
public
void
downloadLog
()
{
//if (increment(ROUTINE_WORK_BH_LOCK_KEY_1)) {
// redisTemplate.expire(ROUTINE_WORK_BH_LOCK_KEY_1, 10, TimeUnit.SECONDS);
...
...
@@ -160,7 +160,7 @@ public class RoutineWorkTask {
@Async
@Scheduled
(
cron
=
"0 10 18 * * ?"
)
//
@Scheduled(cron = "0 10 18 * * ?")
public
void
sendBaoSong
()
{
//if (increment(ROUTINE_WORK_BH_LOCK_KEY_2)) {
// redisTemplate.expire(ROUTINE_WORK_BH_LOCK_KEY_2, 10, TimeUnit.SECONDS);
...
...
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