update
This commit is contained in:
parent
7db6f63009
commit
c00f2c2c62
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
sudo crontab -l > cron.cron
|
sudo crontab -l > cron.cron
|
||||||
echo "0 8 * * * sudo /usr/bin/python /home/pi/lot_manager/open_led.py" >> cron.cron
|
echo "0 9 * * * sudo /usr/bin/python /home/pi/lot_manager/open_led.py" >> cron.cron
|
||||||
echo "0 18 * * * sudo /usr/bin/python /home/pi/lot_manager/close_led.py" >> cron.cron
|
echo "0 17 * * * sudo /usr/bin/python /home/pi/lot_manager/close_led.py" >> cron.cron
|
||||||
sudo crontab cron.cron
|
sudo crontab cron.cron
|
||||||
sudo systemctl restart cron.service
|
sudo systemctl restart cron.service
|
||||||
sudo rm -rf cron.cron
|
sudo rm -rf cron.cron
|
Loading…
Reference in New Issue