Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
renhang-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
renhang-report
Commits
6008d4f6
Commit
6008d4f6
authored
Jun 08, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交测试
parent
2b88ae79
Pipeline
#563
failed with stages
Changes
2
Pipelines
1
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 @
6008d4f6
...
...
@@ -46,7 +46,7 @@ public class QuantGroupZhuDaiReportToBaiHang {
private
DingTalk
dingTalk
;
@Async
@Scheduled
(
cron
=
"0 0 05 * * ?"
)
//
@Scheduled(cron = "0 0 05 * * ?")
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 @
6008d4f6
...
...
@@ -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