How to Download Jobs scheduled by a specific User on Polyspace Job Monitor from a group of Jobs scheduled by Multiple user ?

3 views (last 30 days)
Currently we have option to download jobs by giving the JobId , but I would like to Download Jobs scheduled by a specific User on Polyspace Job Monitor where other users have scheduled their job too.
I could find that we use the -author keyword to schedule the jobs , but couldnt find info on the same while downloding the jobs
Using the below command to download jobs based on a Job Id
'"C:\Program Files\Polyspace\R2019b\polyspace\bin\polyspace-jobs-manager.exe" download -job 6406 -results-folder C:\Projects\Polyspace\6406'
the command below with the author name didn't work
'"C:\Program Files\Polyspace\R2019b\polyspace\bin\polyspace-jobs-manager.exe" download -author amar -results-folder C:\Project\Polyspace\6406'
Post this i would also like to download specific JobIds scheduled by a particular user.
Please help on the same
  4 Comments
Ami
Ami on 11 Aug 2022
Thanks for the Info @Anirban , The Polyspace Metric Server is used across multiple teams , so we wont be able to able to clean up the jobs , thats the reason this functionality is required at our end , if possible request you to please see if this feature can be implemented in coming version of Polyspace.
Anirban
Anirban on 12 Aug 2022
The Polyspace Metrics server is different from the MATLAB Parallel Server (formerly MATLAB Distributed Computing Server) server used for running jobs. Cleaning the jobs from the latter should not affect the results stored on the former. The basic idea behind the MATLAB Parallel Server workflow is that several users offload an analysis to a server, where the analyses run in a queued manner. Once the analysis is complete, the results can be downloaded to the desktop or uploaded to Polyspace Access (formerly, Polyspace Metrics) for review. There is typically no need to keep the jobs list once a job is completed.
Anyway, please contact MathWorks Technical Support. Maybe they can suggest ways to simplify your workflow.

Sign in to comment.

Answers (2)

Anirban
Anirban on 3 Aug 2022
You can use:
polyspace-jobs-manager listjobs -scheduler schedulerName
To list all jobs. The list should show the author of each job. You can write a small script to get the ID-s for an author, and then download all jobs using those ID-s.

Ami
Ami on 8 Aug 2022
Edited: Ami on 8 Aug 2022
Hello @Anirban , I had already implemented the solution you suggested , before I posted this question , I was feeling that Matlab will provide me a solution that is better and runs faster.
I feel Polyspace should include this feature to not only download the Jobs using Job ID's but also using using the Username / Date / Time Duration etc. Shouldn't be a very big feature to update

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!