diff --git a/launcher.sh b/launcher.sh new file mode 100644 index 0000000..225e0e4 --- /dev/null +++ b/launcher.sh @@ -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