Hello, is it possible, when a command fails, that he will retry it for a period of time or maybe over and over again, every 15sec ?
I'm recording with ffmpeg. And whenn the input stream isn't available yet he must retry it several times.
the output will be "Video_`date +%#F_%H.%M.%S`.mp4"
so no problems with overwriting the file.
All functionality you asked about is supported. Please see this blog article for details http://blog.wmspanel.com/2014/10/server-tasks-web-management.html
Hi Andrey, yes this is a useful artikel.
and Server-Side task control is a powerful tool in the panel. I love it.
But both options are checked: Autorestart and Restart if no output.
But in my case, the retry is only once.
He gets a input/output error of ffmpeg, and thats it.
Could you please perform new support request by sending e-mail to firstname.lastname@example.org.
Please also specify your task that is not restarted automatically in this e-mail for further analysis.
Hello there, I'm having trouble to execute simple comands using server tasks.
The task convertMp4-stream2 is returning Permission Denied. What shold i do to solve this kind of trouble. Tried to change permission of user nimble as root but still getting the same problem.
Here folows my two tasks:
"command": "ffmpeg -i http://127.0.0.1:8081/live/stream2.stream/playlist_dvr.m3u8 -codec copy -an /var/cache/nimble/dvr/live/stream2.stream.mp4",
"command": "aws s3 sync ./var/cache/nimble/dvr/live/* s3://streamsvod/vod",
I'm looking forward for your help.
Nimble does not run server-side tasks under root user even if Nimble is running as root. Tasks are executed under user "nimble" so please make sure "nimble" can write to /var/cache/nimble/dvr/, but I'd suggest using some other directory to save .mp4 files.
and required to achieve the purposes illustrated in the
If you want to know more or withdraw your consent to all or some of the cookies, please
refer to the