From ae3be68fb1706daddae418df7984b8f36ad24ed8 Mon Sep 17 00:00:00 2001 From: Nathan Salapat Date: Thu, 9 Oct 2014 20:25:46 -0500 Subject: [PATCH] Forgot to include the arguments Just updated the cron lines to include the -s and -d portions. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99f7b51..6ed34f2 100644 --- a/README.md +++ b/README.md @@ -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