Pass JOBSERIAL through to the cleanup function.
[whenjobs.git] / tools / whenjobs.pod
index fd0a6e7..1c96648 100644 (file)
@@ -665,6 +665,7 @@ fields:
 
  type result = {
    res_job_name : string; # job name
+   res_serial : big_int;  # job serial (same as $JOBSERIAL)
    res_code : int;        # return code from the shell script
    res_tmpdir : string;   # temporary directory script ran in
    res_output : string;   # filename of stdout/stderr output