Home » Php » Execute PHP Script with other PHP Script after certain duration [on hold]

Execute PHP Script with other PHP Script after certain duration [on hold]

Posted by: admin June 30, 2018 Leave a comment

Questions:

I have a php file in my web server that send a CURL POST Request and receive a response that contain the job ID that I need for later. After a certain duration (around 1 minute) I want to make another CURL GET Request and I need the job ID that I received before as parameter. Is it possible to make this happen in a single PHP file? Or do I need anything else?

Answers: