{
"cron":"*/1 * * * * ?",
"executorType":"groovyScript",
"updateBy":"1",
"executor":" println \"Hello World!\" ",
"jobKey":"testJob",
"description":"测试脚本运行",
"id":"1526743482707116032",
"enabled":0,
"typeCode":"",
"updater":"测试"
}
curl --location --request POST '/ab-bpm/sys/crontab/save' \
--header 'Authorization: Bearer{{Auth_Token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"cron":"*/1 * * * * ?",
"executorType":"groovyScript",
"updateBy":"1",
"executor":" println \"Hello World!\" ",
"jobKey":"testJob",
"description":"测试脚本运行",
"id":"1526743482707116032",
"enabled":0,
"typeCode":"",
"updater":"测试"
}'
{
"isOk": true,
"code": "Success",
"message": "Request Success.",
"data": "1526743482707116032",
"requestId": "ccad8746c2ac4757b07e14ca1dd1c5bc",
"responseTime": "2022-05-18 10:43:45",
"msg": "Request Success."
}