Skip to content

Instantly share code, notes, and snippets.

@iversond
Last active July 14, 2019 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iversond/8dc2adf8373737ad92c8c98e7f901568 to your computer and use it in GitHub Desktop.
Save iversond/8dc2adf8373737ad92c8c98e7f901568 to your computer and use it in GitHub Desktop.
A sample shell script to test the psft.sh wrapper (from David Kurtz: http://blog.psftdba.com/2017/02/process-scheduler-shell-script.html)
#!/bin/bash
#A silly script to test psft.sh
#(c) David Kurtz 2017
if [ "$PSPRCSLOGDIR" ] ; then
cd $PSPRCSLOGDIR
fi
(
while [ $# -gt 0 ]
do
echo $1
shift
done
) | tee mybanner.log
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment