windows kill process by name code example
Example 1: script to kill a process in windows
taskkill /PID 1234
Example 2: kill process by name
#on a cluster #sbatch process
scancel -u username
taskkill /PID 1234
#on a cluster #sbatch process
scancel -u username