Cancel loop / script in progress on server [closed]

-5

Good morning, How to cancel an infinite Loop in the Script that is already running on the server?

It was a routine I created for email firing, however by carelessness it is in infinite loop and the process does not stop.

It is already in progress on the server, and I wanted it to stop running, how do I stop the script?

    
asked by anonymous 28.11.2016 / 11:59

1 answer

2

If this program has infinitely looped in an undesired way, you can kill the process responsible using the kill PID command, where PID is the process id referred to. To find out the PID, just list the current processes (I believe it is with the ps command).

    
28.11.2016 / 12:09