05-03-2023, 10:39 PM
(This post was last modified: 05-03-2023, 10:42 PM by Tim Curtis.
Edit Reason: fix cond
)
Sounds like it should work :-)
I have a question about the until loops. Won't the condition part always return true?
until ps -C worker.php > /dev/null; do
I usually use something like pgrep -c worker.php != 0
I have a question about the until loops. Won't the condition part always return true?
until ps -C worker.php > /dev/null; do
I usually use something like pgrep -c worker.php != 0