sources/core/scripts/server_epilogue
raw| 1 | #!/bin/bash |
| 2 | # |
| 3 | # This a placeholder script for OAR jobs server side epilogue. |
| 4 | # This script is to be run on OAR server upon job termination. |
| 5 | # This feature is activated if and only if SERVER_EPILOGUE_EXEC_FILE is set |
| 6 | # in OAR configuration file. |
| 7 | |
| 8 | # Usage: |
| 9 | # Script is run under uid of oar who is sudo |
| 10 | # argv[1] is the jobid |
| 11 | # Other job information are meant to be retrieved using oarstat. |
| 12 | |
| 13 | exit |