Created
May 14, 2019 17:23
-
-
Save justinwoo/b55a74264d3acf1029103ec925fff598 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