语言
/v1/cron/next
计算 cron 表达式接下来的 N 次出现。 可以选择使用 from 参数指定开始日期。
The cron expression.
Number of future occurrences to return (1-25).
ISO 8601 date to start calculating from. Defaults to now.
curl -X POST https://api.botoi.com/v1/cron/next \ -H "Content-Type: application/json" \ -d '{"expression":"0 9 * * 1-5","count":3,"from":"2026-03-27T00:00:00Z"}'
当用户配置 cron 计划时,向用户显示接下来的 5 个运行时间,以便他们可以在保存之前验证时间。
将预期的下次运行时间与实际执行日志进行比较,以检测错过或延迟的 cron 作业。
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.