From 98a8f1cad2e9323092b97fc86ae4c14df1ef8239 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 30 Oct 2023 09:08:54 +0000 Subject: [PATCH] Upload New File --- launcher.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 launcher.sh 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