curl --location -g --request POST 'http://localhost:5678/api/open/cron/v1/update' \
--header 'api-token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"cron": "string",
"shell": "string",
"active": 0,
"remark": "string",
"config": "{\"before_task_shell\": \"任务运行前的执行命令\", \"after_task_shell\": \"任务运行后的执行命令\", \"log_directory\": \"日志目录路径(纯前端功能关联数据)\", \"source_file\": \"源码文件路径(纯前端功能关联数据)\", \"allow_concurrency\": \"是否允许并发\"}"
}'{
"id": 0,
"name": "string",
"type": "user",
"cron": "string",
"shell": "string",
"active": 0,
"config": "string",
"tags": "string",
"last_runtime": "string",
"last_run_use": 0,
"sort": 0,
"create_time": "string",
"remark": "string",
"bind": "string",
"is_running": true
}