Created
January 3, 2013 05:17
-
-
Save rafaelbrandao/4441021 to your computer and use it in GitHub Desktop.
Add this to .bashrc to startup automatically an scheduled task when you open terminal.
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
if [ `ps auxw | grep "scheduled-task.sh" | wc -l` -lt 2 ]; | |
then | |
sh $HOME/scheduled-task.sh "02:10" "echo 'hello'" | |
fi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment