sources/core/scripts/epilogue
raw| 1 | #!/bin/bash |
| 2 | # |
| 3 | # This a placeholder script for OAR jobs epilogue. |
| 4 | # This script is to be run on the first node of a job, upon termination. |
| 5 | # This feature is activated if and only if EPILOGUE_EXEC_FILE is set in OAR |
| 6 | # configuration file. |
| 7 | |
| 8 | # |
| 9 | # Usage: |
| 10 | # Script is run under uid of oar who is sudo |
| 11 | # argv[1] is the jobid |
| 12 | # argv[2] is the user's name |
| 13 | # argv[3] is the file which contains the list of nodes used |
| 14 | # argv[4] is the job walltime in seconds |
| 15 | |
| 16 | exit |