#!/bin/sh # $Id: epilogue 1171 2008-02-22 15:03:43Z capitn $ # # This a placeholder script for OAR jobs epilogue. # This script is to be run on the first node of a job, upon termination. # This feature is activated if and only if EPILOGUE_EXEC_FILE is set in OAR # configuration file. # # Usage: # Script is run under uid of oar who is sudo # argv[1] is the jobid # argv[2] is the user's name # argv[3] is the file which contains the list of nodes used # argv[4] is the job walltime in seconds exit