0

I need to create a script in php, its created but I need that script run in background because take a 30 minutes procesing diferent files. How can create it, I need run in background and the user can navigate across the site and the script keep running. I try calling the script from ajax async funcition but when change the page of the site the script breaks.

Franco Echevarría
  • 149
  • 1
  • 2
  • 12

1 Answers1

-1

PHP exec("php script.php") can do it.

Amigo Madiq
  • 1
  • 1
  • 4