Originally Posted By: andy
Learn python...


A valid thing to try.

The place I need this script to run is inside a "user-defined script" inside the Task Scheduler of a Synology NAS. Those default to Bash scripts, but maybe I can get Python to work there too.

For now though I'll do my existing work-around which is to do all the killing in the one function.
_________________________
Tony Fabris