b5938: Add crontab installation

This commit is contained in:
Thomas Stokes committed 2024-01-02 12:06:56 +00:00
1 parent 72da44f21b
commit d190ca1d5b
1 file changed
+1 -1
@@ -29,5 +29,5 @@ for dir in $(ls -d */ ); do
done
sed -i "s|PATH_OF_GIT_HOME_DIR_TO_REPLACE|${GIT_PATH}|g" $HOME_DIR/crontab # Sets correct path to the git repo within the crontab.
sed -i "s|PATH_OF_HOME_DIR_TO_REPLACE|${HOME_DIR}|g" $HOME_DIR/crontab # Sets the correct path to the home dir of the user whose crontab will be installed.
# crontab -u ${USERNAME} $HOME_DIR/crontab
crontab -u ${USERNAME} $HOME_DIR/crontab # Install the crontab in the given user's home dir.
done