Open cbergemann opened 2 years ago
Hi cbergemann,
Yes, you may subscribe the job and task state changes from the scheduler APIs.
https://docs.microsoft.com/en-us/dotnet/api/microsoft.hpc.scheduler.schedulerjob.onjobstate?view=hpc-sdk-5.1.6115 https://docs.microsoft.com/en-us/dotnet/api/microsoft.hpc.scheduler.schedulerjob.ontaskstate?view=hpc-sdk-5.1.6115
We are developing a frontend to hpcpack to keep track of jobs, catered to our needs. Currently, the only way we see to update the job list or job progress is to poll the API manually or periodically.
The HPC Job Manager however seems to get updates instantly. Is there a method to get notified of changes somehow? How is it done in the Job Manager? Some kind of Push-API would be very usefull.