Skip to content

Instantly share code, notes, and snippets.

@iversond iversond/shell_sample.sh
Last active Jul 14, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.