CRON
1
{
2
"initiators": [
3
{
4
"type": "cron",
5
"params": { "schedule": "CRON_TZ=UTC * */20 * * * *" }
6
}
7
],
8
"tasks": [
9
{
10
"type": "HttpGet",
11
"params": { "get": "https://example.com/api" }
12
},
13
{
14
"type": "JsonParse",
15
"params": { "path": [ "data", "price" ] }
16
},
17
{
18
"type": "Multiply",
19
"params": { "times": 100 }
20
},
21
{
22
"type": "EthUint256"
23
},
24
{
25
"type": "EthTx"
26
}
27
]
28
}
29
Copied!
Copy link