Skip to content

Commit

Permalink
v2.05.0
Browse files Browse the repository at this point in the history
-Improved documentation
  • Loading branch information
taoteh1221 committed Oct 11, 2019
1 parent 7459dfc commit fe2d84a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
17 changes: 17 additions & 0 deletions TICKER-INSTALL.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions dfd-crypto-ticker/Misc.Docs.Etc/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ v2.04.3
---------------------------------------------------------


---------------------------------------------------------
v2.05.0
-Improved documentation
---------------------------------------------------------






Expand Down

0 comments on commit fe2d84a

Please sign in to comment.