Answer the question
In order to leave comments, you need to log in
How to terminate a bash script after a certain time?
Hi all!
There is a simple sh script like this:
#!/bin/bash
cvlc rtsp://root:[email protected]:554/axis-media/media.amp :sout="#std{access=file,mux=asf,dst=/media/rec/$(date +'%y-%m-%d--%H_%M').avi}" --run-time 3605
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question