Support the ongoing development of Laravel.io →
Laravel Queues Jobs

In my laravel application i do a form submit to execute a time consuming task by calling shell_exec(my_time_conusming_Script.sh) . The process executes successfully on the background. But the connection with the frontent is found to be lost. I find that the form submitting the data stops after processing for sometime. I had a return redirect()->back()->with('success',$message); after the shell_exec. But the redirect is not found to be working. if i commentout the time consuming process the redirect works. is any timeout happening. How should i get the redirect working after the time consuming process completes.

Last updated by @ignutanz 1 year ago.

ignutanz liked this thread

1

Sign in to participate in this thread!

Eventy

Your banner here too?

Tanzeem MB ignutanz Joined 17 Feb 2024

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.

© 2025 Laravel.io - All rights reserved.