-
Notifications
You must be signed in to change notification settings - Fork 5
/
cron.json
44 lines (44 loc) · 956 Bytes
/
cron.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[
{
"name":"执行脚本",
"type":"cmd",
"spec":"*/5 * * * * *",
"cmd":"doak-cron.exe"
},
{
"name":"GET请求",
"type":"request",
"spec":"*/5 * * * * *",
"url":"http://test.test1000.com/12.php",
"method":"get",
"timeout":"1",
"params":{
"a": "a data"
},
"query_string":"productId=232",
"body":{
"a": "a body data"
},
"form_data":{
"b": "b data"
},
"headers":{
"a": "a headers data"
},
"proxy":"",
"cookies":{
"cookie_a": "cookie_a data"
}
},
{
"name":"上传文件",
"type":"request",
"spec":"*/6 * * * * *",
"url":"http://test.test1000.com/13.php",
"method":"post",
"timeout":"35",
"files":{
"file": "./cron.log"
}
}
]