Last active
July 14, 2019 19:59
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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