Hi there,
I have a PHP script i run from the SSH command line every day to perform some admin tasks. The script runs in a never ending loop and i manually ctrl+c out of it when using SSH.
I want to make this web based so others can do things instead of me - a simple start/stop button would suffice.
How can i start and stop a PHP script executing in the background?
I've had a look at the exec functions - these should enable me to start them but how would i go about stopping the script too?
Thanks.