how can i stop a script that runf for 90 hours i have a script that runs for 90 hours and sometimes i want to stop it before this time how can i do this ?
You can put: set_time_limit($time_in_seconds); at the top of the script if you want to limit the time. You can also restart apache and it will kill any running script. If you have ssh ability, you can kill the process. use: ps to find the running process, and then: kill process_number to end the specific process. What are you running that would take this long to execute?
Say loudly "STOP", and if that doesnlt work, try saying this loudly "YOU FUC*ING SCRIPT, JUST STOP YOURSELF NOW, OR ELSE...." and if that also doesn;t work, just wonder WHY does it work for 90 hours? and use waht above posts said