Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
677119f5b9 | ||
|
|
5057596cb1 |
@@ -25,3 +25,4 @@ while True:
|
|||||||
except CalledProcessError as e:
|
except CalledProcessError as e:
|
||||||
log.error(e.output.decode('ascii', 'ignore'))
|
log.error(e.output.decode('ascii', 'ignore'))
|
||||||
log.error("Will reboot now")
|
log.error("Will reboot now")
|
||||||
|
output = subprocess.check_output(['shutdown', '-r', 'now'], stderr=subprocess.STDOUT)
|
||||||
|
|||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
nohup bash -c "cd ~/rpi_dht_modbus; source ./venv/bin/activate; ./read.py" &
|
||||||
|
nohup bash -c "cd ~/rpi_weather; source ./venv/bin/activate; ./monitor_network.py" &
|
||||||
Reference in New Issue
Block a user