Jump to content

How to run background process in PHP


sithik_frns

Recommended Posts

Hi,

 

I have a PHP application in which I get data from users and validate them. On successful validation I should initiate a process which may take time to complete. So I need to execute the process in the background.

 

I tried exec and all. Unfortunately I can't bring what I need.

 

Can someone here help me in this regard?

 

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/202244-how-to-run-background-process-in-php/
Share on other sites

Thanks for your reply buddy.

 

I actually want to initiate a PHP script (Say 'Job A') in background on completion of a validation script (Say 'Validation'). Once Job A is initiated, Validation script will tell the visitor as 'Your request has been submitted' and this should not wait for Job A to complete its job.

 

Since there should not be any delay I dont want to use Crons.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.