Retrieving job sequence run schedules

Get a list of job sequences and their run schedules. Only job sequences with schedules are returned.

Service URL

GET {host}/api/cx-unity-api/flows/schedules

Request parameters

N/A

Response parameters

Name

Description

flowId The job sequence ID.
lastFiredTime The date and time the job sequence was last started, expressed in unix time.
nextFireTime The date and time the job sequence will run next, expressed in unix time.

Nested schema: cronExpression

Name

Description

cronExpression The date and time the job sequence is scheduled to run, represented as a Cron Expression.
timeZone The Cron Expression timezone.
expressionSummary A longer summary of the Cron Expression.

Example

Retrieve all job sequences with schedules:

GET /api/cx-unity-api/flows/schedules

Response:

[
  {
    "flowId": "Job_sequence_with_schedule",
    "lastFiredTime": 1611148740000,
    "nextFireTime": 1611148800000,
    "cronExpression": {
      "cronExpression": "0 0/1 * 1/1 * ?",
      "timeZone": "GMT",
      "expressionSummary": "seconds: 0\nminutes: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59\nhours: *\ndaysOfMonth: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31\nmonths: *\ndaysOfWeek: ?\nlastdayOfWeek: false\nnearestWeekday: false\nNthDayOfWeek: 0\nlastdayOfMonth: false\nyears: *\n"
    }
  }
]

[Get job sequence schedules, get job sequence scheduling, retrieve all job sequence schedules]

Learn more

Job sequences