代码拉取完成,页面将自动刷新
同步操作将从 腾讯蓝鲸智云/bk-sops 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
modify crontab for periodic task
Field | Type | Required | Description |
---|---|---|---|
bk_app_code | string | YES | APP ID |
bk_app_secret | string | YES | APP Secret(APP TOKEN), which can be got via BlueKing Developer Center -> Click APP ID -> Basic Info |
bk_token | string | NO | Current user login token, bk_token or bk_username must be valid, bk_token can be got by Cookie |
bk_username | string | NO | Current user username, APP in the white list, can use this field to specify the current user |
Field | Type | Required | Description |
---|---|---|---|
task_id | string | YES | task ID |
bk_biz_id | string | YES | business ID |
cron | dict | YES | crontab dict |
Field | Type | Required | Description |
---|---|---|---|
minute | string | NO | minute, default value is * |
hour | string | NO | hour, default value is * |
day_of_week | string | NO | day of week, default value is * |
day_of_month | string | NO | day of month, default value is * |
month_of_year | string | NO | month of year, default value is * |
{
"bk_app_code": "esb_test",
"bk_app_secret": "xxx",
"bk_token": "xxx",
"bk_biz_id": "2",
"task_id": "8",
"cron" : {
"minute": "*/1",
"hour": "15",
"day_of_week":"*",
"day_of_month":"*",
"month_of_year":"*"
}
}
{
"data": {
"cron": "*/1 15 * * * (m/h/d/dM/MY)"
},
"result": true
}
Field | Type | Description |
---|---|---|
result | bool | true or false, indicate success or failure |
data | dict | data returned when result is true, details are described below |
message | string | error message returned when result is false |
Field | Type | Description |
---|---|---|
cron | string | crontab expression |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。