Support the ongoing development of Laravel.io →
posted 8 years ago
Queues
Last updated 1 year 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 8 years ago.
0

Sign in to participate in this thread!

Eventy

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.

© 2024 Laravel.io - All rights reserved.