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.
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.
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.
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.
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