Created
August 13, 2017 14:22
-
-
Save weizhou2273/b68b7b83cb76ff8ce06097859606bb97 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
#install cron | |
sudo apt-get install cron | |
#Schedule task | |
sudo crontab -e | |
#Schedule runnning task every 2 minutes | |
*/2 * * * * source ./capstone/run.sh | |
#Save cron file | |
# Check your crontab task | |
sudo crontab -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment