With sh script
This commit is contained in:
parent
537a26b4e0
commit
9a51de9ad8
8
run_periodically.sh
Normal file
8
run_periodically.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if pgrep -x "python3" > /dev/null
|
||||||
|
then
|
||||||
|
python3 main.py
|
||||||
|
else
|
||||||
|
echo "Not running"
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user