File: tail.h

package info (click to toggle)
ecflow 5.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 52,220 kB
  • sloc: cpp: 273,994; python: 22,754; sh: 3,643; perl: 774; xml: 333; f90: 204; ansic: 141; makefile: 63
file content (15 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

if [[ $HOST = lxop* ]]; then
  ln -sf $(echo ${PBS_NODEFILE:=} | sed -e 's:aux:spool:').OU %ECF_JOBOUT%
fi

# Notify ecFlow of a normal end
#
# we call wait to let all background process stop
# Also even if we had foreground process, the complete message
# could arrive at the server before say, a --label command
# This would result in zombies. To avoid this we use wait
wait
ecflow_client --complete  --host=%ECF_HOST% --port=%ECF_PORT%
trap 0                 # Remove all traps
exit 0                 # End the shell