05-04-2023, 05:32 AM
Hi Tim
When worker.php is not running the ps -C exit status is 1, which is not a success, and the until loop does not break out.
When worker.php is running the ps -C exit status is 0, which is a success, and the until loop breaks out.
E.g. see https://stackoverflow.com/a/21982743
Adrian.
When worker.php is not running the ps -C exit status is 1, which is not a success, and the until loop does not break out.
When worker.php is running the ps -C exit status is 0, which is a success, and the until loop breaks out.
E.g. see https://stackoverflow.com/a/21982743
Adrian.