srm
srm

Reputation: 597

Rundeck API - get job schedule

For Rundeck community edition 3.3.10 is there a way of getting a scheduled job's schedule frequency via the API? e.g. if the schedule is 0 20/15 * ? * * * then an API call that will either return this string, or the frequency part of every 15 minutes. I have looked at the job/<ID>/info and job/<ID>/executions endpoints, but I am unable to get the actual schedule frequency.

Upvotes: 0

Views: 377

Answers (1)

MegaDrive68k
MegaDrive68k

Reputation: 4325

You can use the Job Forecast API Endpoint. That info is available in the "futureScheduledExecutions" response section.

Upvotes: 1

Related Questions