I have searched a lot and now I am in confuse. I want to do background process for moving photos facebook to my server. moving photos works fine. but now I want to do it using background process(if user close the browser process still works till it done). I have used below code.
exec("move-background.php > /dev/null &");
It doesn't works. move-background.php contains the code of moving photos. plese explain me how to do background process in php and please give the extra setting for Heroku. because heroku doesn't provides settings for PHP. Explain me in detail if possible.
I reefered Running continuous PHP applications on free Heroku but it is not understandable for me. I am new in cmd plese help me