Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
钉
钉钉群通知
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
yaozheng
钉钉群通知
Commits
e9ba60aa
Commit
e9ba60aa
authored
Mar 18, 2021
by
yaozheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加流量线测试群提醒
parent
ec0127ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
demo.py
robot/demo.py
+1
-1
No files found.
robot/demo.py
View file @
e9ba60aa
...
...
@@ -19,7 +19,7 @@ def run():
# 流量线值班人群里早上9:30提醒值班人值班
# scheduler.add_job(func=Task.zhiban, trigger='cron', hour=9, minute=30)
# 测试群关键事项提醒,周一到周五的17:30
scheduler
.
add_job
(
func
=
Task
.
ceshi
,
trigger
=
'cron'
,
day_of_week
=
(
0
,
1
,
2
,
3
,
4
)
,
hour
=
17
,
minute
=
30
)
scheduler
.
add_job
(
func
=
Task
.
ceshi
,
trigger
=
'cron'
,
day_of_week
=
'0-4'
,
hour
=
17
,
minute
=
30
)
# 流量线值班人群里晚上18:00提醒值班人值班
# scheduler.add_job(func=Task.zhiban1, trigger='cron', hour=18)
...
...
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