Created
May 14, 2019 17:23
-
-
Save justinwoo/092c0137f2b17acf57ad34a5579e5479 to your computer and use it in GitHub Desktop.
maybe nobody else should do this
This file contains 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
#!/usr/bin/env bash | |
while true | |
do | |
if pgrep trashsadf; | |
then | |
date | |
echo "we are still running" | |
else | |
date | |
echo "starting trash again" | |
# trash | |
fi | |
sleep 5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment