Added info for writing log.
parent
50250215ce
commit
6feef0a435
|
@ -11,6 +11,9 @@ Your crontab will open, then add the following line.
|
||||||
|
|
||||||
* 4 * * * /home/yourname/gitclone/Minetest_Mods_Updater/update.sh -s /home/yourname/clonelocation/ -d /home/yourname/.minetest/mods/ >/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
|
||||||
|
|
||||||
|
You can also do this which will write a log file in your home directory.
|
||||||
|
>/dev/null 2> ~/mod-update.log
|
||||||
|
|
||||||
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
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue