Created
December 5, 2016 01:20
-
-
Save JourneymanGeek/8ce6c314dce496586fca4abd38eaf6b7 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
daydate=x`date +%j` | |
if [ -f $daydate ]; | |
then | |
echo "task already run" | |
else | |
rm x*; open -a safari http://www.example.com ; touch $daydate | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment