This might be a borderline OMV issue since it is also linked to a programme I'm using.
Parts of my OMV storage should be used as CCTV loop storage.
So I'm using FFMPEG to capture the stream and direct / store it in segments on an OMV partition and created a crontab entry for it.
FFMPEG has a bug in that it seems to ignore the -t / -timelimit option, so I wanted to kill and re-start the process periodically- via another crontab entry preceeding the re-start.
However, the only way I can kill the process (tested manyally) is by using the process ID.
does not work (nor does kill ffmpeg).
Since the proces ID is dynamic, this won't work- unless there is another way to kill a process via crontab.
Why would it not take the process name but only the ID?