解析、验证、描述和生成cron表达式。将cron语法转换为人类可读的描述,并计算下一个运行时间。
{"expression":"*/5 * * * *","description":"Every 5 minutes"}
curl --location --request POST 'https://zylalabs.com/api/12324/cron+expression+toolkit+api/23142/describe+cron+expression' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"expression":"*/5 * * * *"}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
The Cron Expression Toolkit API allows users to parse, validate, describe, and generate cron expressions. It converts cron syntax into human-readable descriptions and calculates the next run times for scheduled tasks.
The API supports standard cron syntax formats, which typically include fields for minute, hour, day of month, month, day of week, and year. It processes these formats to provide validation and description.
The API can be integrated into scheduling applications to help users create and manage cron jobs. By converting cron expressions to human-readable formats, it enhances user understanding and allows for easier scheduling of tasks.
The core value proposition of the API lies in its ability to simplify the management of cron expressions. It helps users avoid errors in scheduling by validating expressions and provides clear descriptions, making it easier to understand complex scheduling.
The API outputs human-readable descriptions of cron expressions, detailing the timing and frequency of scheduled tasks. This output is typically in plain text format, providing clarity on when tasks will run.
Describe Cron Expression 端点返回一个 JSON 对象,包含原始 cron 表达式、可读的调度描述以及指定 cron 作业的下一个运行时间
响应数据中的关键字段包括“表达式”(原始的cron语法)、“描述”(可读的解释)和“下次运行”(即将执行时间的数组)
响应数据结构为JSON对象 包含cron表达式 描述性文本 和下次运行时间的数组 便于在应用程序中解析和使用
Describe Cron Expression 端点的主要参数是 "cronExpression" ,该参数接受标准的 cron 语法 用户可以通过提供不同的 cron 表达式来自定义他们的请求,以接收相应的描述和下次运行时间
该端点提供有关由 cron 表达式定义的任务的时间和频率的信息,包括可读的人类描述以及指定 cron 作业的下一个计划运行时间
用户可以利用返回的数据在用户界面中显示清晰的调度信息 自动化任务调度或通过检查描述和下一次运行时间来验证用户输入的cron表达式
典型用例包括将API集成到任务调度应用程序中 创建用户友好的cron作业管理界面以及根据用户定义的调度自动生成cron表达式
该API依赖标准的cron语法规则进行解析和验证,以确保描述和下次运行时间准确。定期更新和遵循cron标准有助于维护数据质量
服务级别:
100%
响应时间:
259ms
服务级别:
100%
响应时间:
123ms
服务级别:
100%
响应时间:
423ms
服务级别:
100%
响应时间:
238ms
服务级别:
100%
响应时间:
179ms
服务级别:
100%
响应时间:
233ms
服务级别:
100%
响应时间:
114ms
服务级别:
100%
响应时间:
78ms
服务级别:
100%
响应时间:
85ms
服务级别:
100%
响应时间:
151ms