diff options
-rw-r--r-- | crontab_add.txt | 2 | ||||
-rwxr-xr-x | init.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crontab_add.txt b/crontab_add.txt index 5e7db63..c5135cb 100644 --- a/crontab_add.txt +++ b/crontab_add.txt @@ -1,6 +1,6 @@ # these are probably going to need some fixing, for example the shutdown path may differ # to normal user: -@reboot /home/USERNAME/FoodJS/init.sh +@reboot /home/USERNAME/init.sh # to root: 0 0 * * 7 /sbin/shutdown -r now @@ -1,4 +1,6 @@ #!/bin/sh +# Put in this dir so that it can execute: cd /home/joel +rm -r -f ./FoodJS git clone "https://github.com/JoelHMikael/FoodJS.git" >> /tmp/test.txt node ./FoodJS/server.js |