Support the ongoing development of Laravel.io →
posted 7 years ago
Queues
Last updated 6 months ago.
0

Couldn't you add the "1>/dev/null 2>&1" stuff to your call to exec() that runs the long running script?

0

orrd said:

Couldn't you add the "1>/dev/null 2>&1" stuff to your call to exec() that runs the long running script?

Unfortunately, that doesn't work. Also, I need to write the output of the script to a file for the results.

Edit: I believe I can work around this issue using a daemon queue worker instead of the normal listener. The worker behaves as expected and sets off the child processes without waiting on them.

Last updated 7 years ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

mzur mzur Joined 10 Feb 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.