[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [condor-users] last job submitted info




Can anybody answer please, what is the simplest way to retrieve the number
of the last job submitted by the user (cluster_id) ?

A simple but slow way on Unix is:


condor_history roy | tail -1

And is there any way to get back the error code returned by the job on
completion?

If you have the job log for the file, look in there. You should always have a log file for a job. It's the "log" option in the submit file.


You can do a "condor_history -l <number>" for any completed job.

-alain


Condor Support Information: http://www.cs.wisc.edu/condor/condor-support/ To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with unsubscribe condor-users <your_email_address>