With sh script

This commit is contained in:
Remy Moll 2020-05-13 16:23:36 +02:00
parent 537a26b4e0
commit 9a51de9ad8

8
run_periodically.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
if pgrep -x "python3" > /dev/null
then
python3 main.py
else
echo "Not running"
fi