diff --git a/cronjob.sh b/cronjob.sh index 05eee13..1731b83 100755 --- a/cronjob.sh +++ b/cronjob.sh @@ -9,11 +9,11 @@ PROG="$(basename -- "${BASH_SOURCE[0]}")" echo "$DIR/$PROG" function reload-project { + ## Kill node.js which will complete run.sh and restart any Docker containers. + #pkill node # Do not kill program, just use the new files and if run.sh or main.js were # changed then they can get reloaded manually or by the nightly backup. echo "Done!" - ## Kill node.js which will complete run.sh and restart any Docker containers. - #pkill node } echo "*** Running cronjob @ `date` ***"