Forgot to include the arguments

Just updated the cron lines to include the -s and -d portions.
master
Nathan Salapat 2014-10-09 20:25:46 -05:00
parent 99e8124e3f
commit ae3be68fb1
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Call the updater with update.sh -s /home/yourname/gitclone/ -d /home/yourname/.m
To run the script as a cron job just add it like this, open a terminal and type crontab -e
Your crontab will open, then add the following line.
* 4 * * * /home/yourname/gitclone/Minetest_Mods_Updater/update.sh >/dev/null 2>&1
* 4 * * * /home/yourname/gitclone/Minetest_Mods_Updater/update.sh -s /home/yourname/clonelocation/ -d /home/yourname/.minetest/mods/ >/dev/null 2>&1
Of course you can change when the job runs. If you aren't familiar with that syntax visit this page: http://www.howtoforge.com/a-short-introduction-to-cron-jobs