Appendices > Appendix G: Prologue and epilogue scripts > Script order of execution

G.1 Script order of execution

When jobs start, the order of script execution is prologue followed by prologue.user. On job exit, the order of execution is epilogue.user followed by epilogue unless a job is canceled. In that case, epilogue.precancel is executed first. epilogue.parallel is executed only on the Sister nodes when the job is completed.

The epilogue and prologue scripts are controlled by the system administrator. However, beginning in TORQUE version 2.4 a user epilogue and prologue script can be used on a per job basis. (See Per job prologue and epilogue scripts for more information.)

Root squashing is now supported for epilogue and prologue scripts.

Related topics