Retrieves the next five scheduled times based on the specified time type and time expression.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The cluster ID. |
xxljob-b6ec1xxxx |
| AppName |
string |
Yes |
The application name. |
test-app |
| TimeType |
integer |
Yes |
The time type. The only supported type is cron.
|
1 |
| TimeExpression |
string |
Yes |
The time expression, such as a cron expression. |
0 0/10 * * * ? |
| TimeZone |
string |
No |
The time zone used to evaluate the time expression. |
Asia/Beijing |
| Calendar |
string |
No |
The name of the calendar to use for scheduling, such as a business day calendar. |
workday |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Code |
integer |
The response code. |
200 |
| Message |
string |
The response message. The value is |
Parameter check error |
| RequestId |
string |
The unique ID of the request. Use this ID for troubleshooting. |
9A48E22F-F30A-5CE5-AC7A-E0FED1B6942E |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
| Data |
array |
A list of the scheduled times. |
|
|
string |
A scheduled time in |
2024-11-17 12:00:00 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "Parameter check error",
"RequestId": "9A48E22F-F30A-5CE5-AC7A-E0FED1B6942E",
"Success": true,
"Data": [
"2024-11-17 12:00:00"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Parameter error: %s. | Parameter error: %s |
| 401 | IllegalRequest | IllegalRequest: %s. | Illegal request:%s |
| 500 | InternalError | InternalError: %s. | System Internal Error: %s |
| 403 | NoPermission | No permission to perform this operation: %s. | No permission to perform this operation: %s |
| 404 | NotFound | Not found: %s. | The resource does not exist: %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.