bobbysch
asked on
How to kill and launch a same process repeatly inside a same loop?
Hello,
Normally I do this separately:
while true; do command; done
while true; do sleep 10; pkill command; done
I wonder if it's possible to do this with a loop only.
Thanks.
Normally I do this separately:
while true; do command; done
while true; do sleep 10; pkill command; done
I wonder if it's possible to do this with a loop only.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.