获取计划任务服务(crond)的运行状态
POST
https://your-panel.example.com:8888/crontab
检查系统 crond 服务的运行状态。
Request body application/x-www-form-urlencoded required
Returns
各操作详细说明
get_crontab_serviceaction=get_crontab_service获取计划任务服务(crond)的运行状态
检查系统 crond 服务的运行状态。
- 路由:
POST /crontab - action:
get_crontab_service
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| status | Boolean | true 查询成功 |
| data | Object | {"status": 1} 运行中 / {"status": 0} 已停止 |
示例
{"status": true, "msg": "", "data": {"status": 0}}