[GE users] DRMAA: monitoring job status

Andreas Haas Andreas.Haas at Sun.COM
Wed Jun 21 09:41:26 BST 2006

Jeff White wrote On 06/21/06 02:42,:
> I want to create a component that continually monitors for completed 
> jobs. It seems that I can only call Session.wait(JOB_IDS_SESSION_ANY) 
> when there are queued/running jobs. If I call wait() before any jobs 
> have been submitted or after they all complete I am thrown an 
> InvalidJobException. I was hoping to have an independent thread that 
> continually waits for completed jobs. Must I coordinate with the 
> submission of jobs so I know when it is appropriate to call wait()?

Yes, this is required.


To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list