Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
holmes
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
QA
holmes
Commits
d686759c
Commit
d686759c
authored
May 11, 2023
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释线上工单定时任务
parent
78543d8c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
BugNotifyTask.java
src/main/java/cn/qg/holmes/task/BugNotifyTask.java
+4
-4
No files found.
src/main/java/cn/qg/holmes/task/BugNotifyTask.java
View file @
d686759c
...
...
@@ -182,7 +182,7 @@ public class BugNotifyTask {
* @throws Exception
*/
// @Scheduled(cron = "0 */1 * * * ?")
@Scheduled
(
cron
=
"0 0 10,18 ? * *"
)
//
@Scheduled(cron = "0 0 10,18 ? * *")
public
void
dsProdBugDailyNotifyTask
()
throws
Exception
{
if
(
scheduledTaskStart
.
equals
(
"true"
))
{
Iterable
<
Issue
>
dsUnsolvedList
=
jiraService
.
getIssueListByJQL
(
"project = YXMXS AND resolution = Unresolved ORDER BY priority DESC, created DESC"
);
...
...
@@ -194,7 +194,7 @@ public class BugNotifyTask {
* 金融线上工单每天提醒
* @throws Exception
*/
@Scheduled
(
cron
=
"0 0 10,14,18 ? * *"
)
//
@Scheduled(cron = "0 0 10,14,18 ? * *")
public
void
jrProdBugDailyNotifyTask
()
throws
Exception
{
if
(
scheduledTaskStart
.
equals
(
"true"
))
{
Iterable
<
Issue
>
jrUnsolvedList
=
jiraService
.
getIssueListByJQL
(
"project = YFGDZZ AND resolution = Unresolved ORDER BY priority DESC, created DESC"
);
...
...
@@ -206,7 +206,7 @@ public class BugNotifyTask {
* 供应链业务工单每天提醒
* @throws Exception
*/
@Scheduled
(
cron
=
"0 0 10,18 ? * *"
)
//
@Scheduled(cron = "0 0 10,18 ? * *")
public
void
gylBusinessProdBugDailyNotifyTask
()
throws
Exception
{
if
(
scheduledTaskStart
.
equals
(
"true"
))
{
Iterable
<
Issue
>
gylUnsolvedList
=
jiraService
.
getIssueListByJQL
(
"project = GYLYW AND resolution = Unresolved ORDER BY priority DESC, created DESC"
);
...
...
@@ -218,7 +218,7 @@ public class BugNotifyTask {
* 消费地图线上每日工单提醒
* @throws Exception
*/
@Scheduled
(
cron
=
"0 0 10,18 ? * *"
)
//
@Scheduled(cron = "0 0 10,18 ? * *")
public
void
xfdtxsProdBugDailyNotifyTask
()
throws
Exception
{
if
(
scheduledTaskStart
.
equals
(
"true"
))
{
Iterable
<
Issue
>
xfdtxsUnsolvedList
=
jiraService
.
getIssueListByJQL
(
"project = XFDTXS AND resolution = Unresolved ORDER BY priority DESC, created DESC"
);
...
...
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