Jan-14-2020, 11:08 AM
Hello and thank you for having me.
At the moment i run a shell script using start.sh and then stop it with stop.sh.
Is there a way i can run the script for 30 seconds then stop the script then run it again for 30 seconds and so on.
This is what i am using at the moment:
rm -f test.out
nohup /usr/bin/python test.py > test.out
Many thanks
Paul
At the moment i run a shell script using start.sh and then stop it with stop.sh.
Is there a way i can run the script for 30 seconds then stop the script then run it again for 30 seconds and so on.
This is what i am using at the moment:
rm -f test.out
nohup /usr/bin/python test.py > test.out
Many thanks
Paul