Overview
- Category
- Date & Time
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/cron-expression-generator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/cron-expression-generator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
minute· string · required-
Choose the minute that matches the calculation. Accepted values:
*, 0, 15, 30, 45, */5, */15. hour· string · required-
Choose the hour that matches the calculation. Accepted values:
*, 0, 6, 9, 12, 18, */2. day_of_month· string · required-
Choose the day of month that matches the calculation. Accepted values:
*, 1, 15, L. month· string · required-
Choose the month that matches the calculation. Accepted values:
*, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. weekday· string · required-
Choose the weekday that matches the calculation. Accepted values:
*, 1-5, 0,6, 0, 1.
{
"type": "object",
"properties": {
"minute": {
"type": "string",
"description": "Choose the minute that matches the calculation.",
"enum": [
"*",
"0",
"15",
"30",
"45",
"*/5",
"*/15"
]
},
"hour": {
"type": "string",
"description": "Choose the hour that matches the calculation.",
"enum": [
"*",
"0",
"6",
"9",
"12",
"18",
"*/2"
]
},
"day_of_month": {
"type": "string",
"description": "Choose the day of month that matches the calculation.",
"enum": [
"*",
"1",
"15",
"L"
]
},
"month": {
"type": "string",
"description": "Choose the month that matches the calculation.",
"enum": [
"*",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
]
},
"weekday": {
"type": "string",
"description": "Choose the weekday that matches the calculation.",
"enum": [
"*",
"1-5",
"0,6",
"0",
"1"
]
}
},
"required": [
"minute",
"hour",
"day_of_month",
"month",
"weekday"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
expression· string- Cron expression produced by the calculation.
description· string- Schedule description produced by the calculation.
fields· array- Cron fields produced by the calculation.
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "Cron expression produced by the calculation."
},
"description": {
"type": "string",
"description": "Schedule description produced by the calculation."
},
"fields": {
"type": "array",
"description": "Cron fields produced by the calculation."
}
},
"additionalProperties": false
}
Cron Expression Generator example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/cron-expression-generator/execute" \
-H "Content-Type: application/json" \
-d '{
"minute": "0",
"hour": "9",
"day_of_month": "*",
"month": "*",
"weekday": "1-5"
}'
{
"ok": true,
"data": {
"slug": "cron-expression-generator",
"result": {
"values": {
"expression": "0 9 * * 1-5",
"description": "Minute 0, hour 9, day *, month *, weekday 1-5",
"fields": [
{
"field": "minute",
"value": "0"
},
{
"field": "hour",
"value": "9"
},
{
"field": "day of month",
"value": "*"
},
{
"field": "month",
"value": "*"
}
]
},
"display": {
"display": "0 9 * * 1-5"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.