[torqueusers] epilogue script runs twice

Garrick Staples garrick at usc.edu
Mon Jan 11 13:31:55 MST 2010


On Wed, Dec 23, 2009 at 11:21:35AM -0500, Kevin Van Workum alleged:
> However, it would be a nice feature if torque could give some notice to the
> epilogue script that it has already been run for a particular job and for
> what reason, i.e. sigterm or sigkill.

Would it be all that useful?

If your script knew that epilogue was run before, what would it change?

You still wouldn't know if it completed; if it completed successfully. Your
script wouldn't know if *it* had been run before; if it completed. What if your
script had been terminated halfway through it's critical stage?

Everything in epilogue just needs to be written to be indempotent.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20100111/ee241a25/attachment.bin 


More information about the torqueusers mailing list