cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1616
Views
12
Helpful
5
Replies

cannot preview scheduled jobs prime infrastructure 3.0 and 3.1

freemanonearth
Level 1
Level 1

Hi,

Does anyone know if there's a way to preview scheduled jobs in  PI 3.0 or 3.1 before they run?

Also the creation time in prime is equal to the scheduled time and not the actual time when I create the job.

How can I see the time stamp when I created the job? The closest is 'last updated but this is not what I would like to see.

I create all my jobs using CLI template

Any helps is much appreciated.

Thanks

Godwin

5 Replies 5

Spencer Zier
Cisco Employee
Cisco Employee

You can use the GET data/JobSummary resource to see the list of jobs in the system, which are scheduled, and what the next start time is.  The GET op/jobService/runhistory service can be used to see the particulars of the job runs, including details about their results.

Hello Spencer,

Thanks for the reply. I had figured out how to see the time stamp a job has been created.

Where do I go exactly to see the output using the information you have provided?

I also think the output of the above information I can already see it from the Job dashboard.

Let me rephrase my question as I think you may not have understood it or it was not clear.

When I schedule a job, I would like to see the details of the scheduled job and devices it is going to run on (that I selected).

Currently I can only see this information when the job has run.

Thanks.

OK yeah, I understand.  Unfortunately, I don't think there's a way to get this information via the API.  In fact, I'm not sure that the job framework in Prime Infrastructure even supports this.  We can show per device results after the job is run, but that's only because the job itself constructs a post-run job report that the job framework then searches for.  As far as I'm aware, no such mechanism exists for before the job is run.

Let me reach out to the team that handles our job framework regarding this.

Thanks, I will wait to hear from your when the team responds.

Just a brief update: I did relay this request to them.  It's something they're planning to take up.  I won't have any dates or releases to share until later, when development is underway.  After the job framework team makes their changes, we can look into getting API support.

We appreciate your feedback

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: