diff --git a/README.txt b/README.txt index 31d5ffe..f9caa78 100644 --- a/README.txt +++ b/README.txt @@ -102,12 +102,21 @@ ADD THE LINES IN THIS FILE ---FIRST ABOVE--- THAT COMMAND (to preserve your CURR -Add this as a cron job every minute, by creating the following file (you'll need sudo permissions): /etc/cron.d/ticker and add the following line (and a carriage return AFTER it): +Add this as a cron job every minute, by creating the following file (you'll need sudo permissions): /etc/cron.d/ticker and add the following line (and a carriage return AFTER it to be safe): * * * * * pi /bin/bash /home/pi/dfd-crypto-ticker/scripts/keep-screensaver-off.bash > /dev/null 2>&1 +If your system DOES NOT have /etc/cron.d/ on it, then NEARLY the same format (minus the username) can be installed via the 'crontab -e' command (logged in as the user you want running the cron job): + +* * * * * /bin/bash /home/pi/dfd-crypto-ticker/scripts/keep-screensaver-off.bash > /dev/null 2>&1 + + + +IMPORTANT CRON JOB NOTES: MAKE SURE YOU ONLY USE EITHER /etc/cron.d/, or 'crontab -e', NOT BOTH...ANY OLD DUPLICATE ENTRIES WILL RUN YOUR CRON JOB TOO OFTEN. + + When you've finished setting up everything, reboot to activate the ticker with this command: sudo reboot diff --git a/TICKER-INSTALL.bash b/TICKER-INSTALL.bash index 46980c4..3adc545 100644 --- a/TICKER-INSTALL.bash +++ b/TICKER-INSTALL.bash @@ -386,6 +386,7 @@ select opt in $OPTIONS; do # cron.d entries MUST BE OWNED BY ROOT /bin/chown root:root /etc/cron.d/ticker + CRON_SETUP=1 echo " " echo "Ticker configuration complete." @@ -563,6 +564,22 @@ fi +if [ "$CRON_SETUP" = "1" ]; then + +echo "A cron job has been setup for user '$SYS_USER'," +echo "as a command in /etc/cron.d/ticker:" +echo "$CRONJOB" +echo " " + +echo "Double-check that the command 'crontab -e' does not have any OLD MATCHING entries" +echo "pointing to the same cron job, OR YOUR CRON JOB WILL RUN TOO OFTEN." +echo "(when /etc/cron.d/ is used, then 'crontab -e' should NOT BE USED for the same cron job)" +echo " " + +fi + + + echo "Edit the following file in a text editor to switch between the" echo "different Coinbase Pro crypto assets and their paired markets: " echo "/home/$SYS_USER/dfd-crypto-ticker/apps/ticker/config.js" diff --git a/dfd-crypto-ticker/Misc.Docs.Etc/changelog.txt b/dfd-crypto-ticker/Misc.Docs.Etc/changelog.txt index 106d37c..64991d0 100644 --- a/dfd-crypto-ticker/Misc.Docs.Etc/changelog.txt +++ b/dfd-crypto-ticker/Misc.Docs.Etc/changelog.txt @@ -145,6 +145,13 @@ v2.04.3 --------------------------------------------------------- +--------------------------------------------------------- +v2.05.0 +-Improved documentation +--------------------------------------------------------- + + +