Skip to content

Commit

Permalink
fix pasto in cron command
Browse files Browse the repository at this point in the history
  • Loading branch information
jerbzz authored Mar 6, 2021
1 parent 38f0122 commit 84a9c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_crontab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "$(crontab -l | wc -c)" -eq 0 ]; then
echo "Can't install cron jobs, you must specify a region: './install_crontab.sh X'";
else
echo "Installing agile-blinkt-indicator cron jobs for region $1..."
(crontab -l 2>/dev/null; echo "@reboot /bin/sleep 30; cd /home/pi/agile-blinkt-indicator && /usr/bin/python3 store_prices.py --region $1 > ./blinkt.log 2>&1") | cronta$
(crontab -l 2>/dev/null; echo "@reboot /bin/sleep 30; cd /home/pi/agile-blinkt-indicator && /usr/bin/python3 store_prices.py --region $1 > ./blinkt.log 2>&1") | crontab -
(crontab -l 2>/dev/null; echo "@reboot /bin/sleep 40; cd /home/pi/agile-blinkt-indicator && /usr/bin/python3 update_blinkt.py > ./blinkt.log 2>&1") | crontab -
(crontab -l 2>/dev/null; echo "*/30 * * * * /bin/sleep 5; cd /home/pi/agile-blinkt-indicator && /usr/bin/python3 update_blinkt.py > ./blinkt.log 2>&1") | crontab -
(crontab -l 2>/dev/null; echo "30 16 * * * cd /home/pi/agile-blinkt-indicator && /usr/bin/python3 store_prices.py > ./blinkt.log 2>&1") | crontab -
Expand Down

0 comments on commit 84a9c20

Please sign in to comment.