Replies: 1 comment
-
I guess it is not recommended if even possible. Found a working alternative via queues. #50085 (comment) I realised that the scheudle should wait for all the children to finish to catch the logs and if those take 5 minutes, it is not the best scenario. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Acc. to https://symfony.com/doc/current/components/process.html#using-tty-and-pty-modes
and #50085 (comment)
if using tty mode true, the stdout from the background commands that are triggered in a shell by the scheduler (proc_open function) is being displayed in stdout.
The schedule:run command finishes before all the scheduled commands finished so I guess that is why it hangs and waits for output from them.
Question is: Is there a way to SIGINT the schedule:run process after all the scheduled commands finished?
Beta Was this translation helpful? Give feedback.
All reactions