Getting Scheduled Job Informationedit

GET /scheduled_jobs/<job_names>

Use the semicolon separator to specify more than one identifier in the request url.

Example with two scheduled job identifiers:

GET /scheduled_jobs/first;second

Example with one scheduled job identifier:

GET /scheduled_jobs/first

The result of the above get operation is an array with information for each scheduled job identifier present in the request url:

[{
  "name": "first",
  "method": "post",
  "relative_url": "/models/awesome_model/_train",
  "params": {
    "from": "now-1d",
    "to": "now"
  },
  "every": {
    "count": 1,
    "unit": "day",
    "at": "01:00"
  }
}]

The scheduled job method, relative_url and params refer to REST API calls supported by the Loud ML model server.

The scheduled job unit will have one of the following values:

second

Scheduled job will run every second

seconds

Scheduled job will run every count seconds

minute

Scheduled job will run every minute

minutes

Scheduled job will run every count minutes

hour

Scheduled job will run every hour

hours

Scheduled job will run every count hours

day

Scheduled job will run every day

days

Scheduled job will run every count days

monday

Scheduled job will run every Monday

tuesday

Scheduled job will run every Tuesday

wednesday

Scheduled job will run every Wednesday

thursday

Scheduled job will run every Thursday

friday

Scheduled job will run every Friday

saturday

Scheduled job will run every Saturday

sunday

Scheduled job will run every Sunday

The scheduled job option at can specify the exact time to execute the job with a string in one of the following formats: HH:MM:SS, HH:MM,:MM, :SS. The format must make sense given how often the job is repeating; for example, a job that repeats every minute should not be given a string in the form HH:MM:SS. The difference between :MM and :SS is inferred from the selected time unit.