Cron表达式查询
https://apix.iqfk.top/api/cron接口描述
支持5字段标准cron表达式查询执行时间
请求参数
请求示例
var axios = require('axios')
var config = {
method: 'get',
url: ''
}
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data))
})
.catch(function (error) {
console.log(error)
})axios
ajax
fetch
xhr
php
python
返回示例
{
"code": 200,
"success": true,
"message": "Cron表达式解析成功",
"data": {
"cron_expression": "* * * * *",
"next_executions": [
"2025-10-11 00:08:00",
"2025-10-11 00:09:00",
"2025-10-11 00:10:00",
"2025-10-11 00:11:00",
"2025-10-11 00:12:00",
"2025-10-11 00:13:00",
"2025-10-11 00:14:00",
"2025-10-11 00:15:00",
"2025-10-11 00:16:00",
"2025-10-11 00:17:00",
"2025-10-11 00:18:00",
"2025-10-11 00:19:00",
"2025-10-11 00:20:00",
"2025-10-11 00:21:00",
"2025-10-11 00:22:00"
],
"total": 15
},
"processing_time_ms": 3.08
}