[torqueusers] how to get job return code in epilogue?

=?gb2312?B?ydDD8ce/?= shangmq at bgp.com.cn
Mon Nov 21 00:20:14 MST 2005


hello everyone:

     I want to get the job script return status in my epilogue script,but if I use 

     echo $?

     it always return 0, in my job script , I wrote like this:

     ......
     test123        // this application return 21 for example

     I want to get the return code(21) in my epilogue script, but I didn't know how to get , can you help me? thank you!!! 


     thank you very much!

                   smq

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-11-21
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fox.gif
Type: image/gif
Size: 9519 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20051121/2bf15323/fox.gif


More information about the torqueusers mailing list