Upload New File
This commit is contained in:
14
launcher.sh
Normal file
14
launcher.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
#this script launch webrelay. Use sudo crontab -e to launch at start.
|
||||
|
||||
|
||||
|
||||
cd /
|
||||
cd home/pi/relay
|
||||
sudo python web_relay.py
|
||||
cd /
|
||||
|
||||
|
||||
# m h dom mon dow command
|
||||
#@reboot sleep 30 && sh /home/pi/launcher.sh >/home/pi/logs/cronlog 2>&1
|
||||
#8 7 * * * reboot
|
||||
Reference in New Issue
Block a user