isKeepAliveOn = true; // Override manual to experiment $override = 0; if($override) { // Good to play with the throttle feature $sleepingBeauty = 'x=1; while [ $x -le 40 ]; do sleep 0.1 && echo "Welcome $x times" $(( x++ )); done'; $this->activity = coolifyProcess(<<activity = coolifyProcess($this->command, 'testing-host'); } public function polling() { $this->activity?->refresh(); if (data_get($this->activity, 'properties.exitCode') !== null) { $this->isKeepAliveOn = false; } } }