Toggle navigation
Toggle navigation
This project
Loading...
Sign in
huayandong
/
recommend-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
huayandong
2019-08-16 20:44:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7e1b633694416451bd5d5ec9c2b5119190df169c
7e1b6336
1 parent
7274c36a
update doc api
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
back-页面接口/20190816-任务调度后台接口.md
back-页面接口/20190816-任务调度后台接口.md
View file @
7e1b633
...
...
@@ -86,4 +86,33 @@
> `flagEnable`: 定时任务的状态,`true`表示定时任务开始执行,`false`表示定时任务停止执行
##### 4. 【网页接口】增加一条定时任务记录
-
URL: {{localhost}}/boxfish-data-market/market/scheduleJob/addScheduleJob
-
Method: POST
-
RequestBody
```
json5
{
"operatorAccount": "operatorAccount@b.cn",
"operation": "abc@b.cn",
"fileName": "导出文件",
"mailList": "zhangwang@boxfish.cn,huayandong@boxfish.cn",
"cron": "30 0/1 8-20 * * ?",
"scriptUpdate": null,
"scriptQuery": null
}
```
> `operatorAccount`:当前记录 操作人账号
> `operation`:当前定时任务 创建人账号
> `fileName`:邮件附件名称
> `mailList`:收件人名称,多个收件人之间使用 英文逗号","间隔开
> `cron`:定时任务执行时间配置
> `scriptUpdate`:SQL脚本 更新脚本
> `scriptQuery`:SQL脚本 查询脚本
...
...
Please
register
or
login
to post a comment