I have a driver in Laravel, which is processed every so often by a task scheduled from the server.
This driver does a redirect:
return redirect('/control_fich/'.$id_user.'/'.$date_utc);
To another controller that continues processing what is collected from a Soap. (This last data is a bit irrelevant).
The issue is that when I run this driver manually, using the API, I process it properly, but when ShellScript does it, it does not process the other driver.
It seems that return is not processed by ShellScript, how can I do to process the other driver?