I have a script like the one below, hosted on an SSH server:
while true do python3 main.py sleep 1 done
I have run it with:
I can kill the python processes using top but of course this doesn't help as they are respawned.
Is there any way to stop the execution of this script?