Answer the question
In order to leave comments, you need to log in
How to make a script run loop in screen?
Hello.
In screen, you need to loop one script so that it restarts every 30 minutes.
Googled and found only this:
while true; do
./usr/local/new/new.sh
sleep 10
done
Answer the question
In order to leave comments, you need to log in
In the first 30 minutes it is "1800"
In the second, such things are done through cron, if you need the output of the script, then redirecting to a file will help you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question