[torqueusers] How to find out why a job failed?

Daniel Widyono widyono at seas.upenn.edu
Tue Jun 27 08:57:09 MDT 2006

Here's an idea, not sure if it suits your environment.  In your script, just
output whatever error you want to standard error.  E.g. for bash,

	echo myprog exited with status $? >&2

You'll then get this in your .ER file associated with the job.  Is that what
you're looking for?  If not, can you be more specific?

Dan W.

On Mon, Jun 26, 2006 at 11:52:50AM -0700, Keenahn Jung wrote:
> Hello, I want to be able to trace the failure of a job. My idea is to
> have the script in the job have different return codes. How can I keep
> track of these return codes after the job fails?

More information about the torqueusers mailing list