drmaa-python icon indicating copy to clipboard operation
drmaa-python copied to clipboard

Ability to Access Job Ids Across Sessions

Open cancan101 opened this issue 10 years ago • 1 comments

Is there anyway that I can save the job id of a long running task and then check its status from another Session? I understand that I can re-start the session as long as I have the contact for that session but that requirement seems silly since using just the jobid I can run qstat.

cancan101 avatar Jul 22 '15 05:07 cancan101

I'm not sure if that would work or not, you'd have to test it out yourself. When you call session.runJob(), it returns the job ID, so you could always save that and see if you can access it from another session. If you cannot, then this is a limitation of the DRMAA standard.

dan-blanchard avatar Jul 22 '15 12:07 dan-blanchard