On Fri, Dec 11, 2020 at 02:03:25AM -0600, Paul Boniol wrote:

> 
> crontab -e as my usual user.
> 
> 0 0 * * * timeout 4h cvlc -I dummy
> https://stream.revma.ihrhls.com/zc2149/hls.m3u8 :no-video
> :sout="#transcode{acodec=mp3,ab=128}:std{access=file,mux=dummy,dst=/home/paul/Audio/Coast-$(date
> '+%Y-%m-%d-%H-%M-%S').mp3"

Any '%' in a crontab needs to be escaped as it has special meaning to
cron:

"A "%" character in the command, unless escaped with a backslash (\),
will be changed into newline characters,  and all data after the first %
will be sent to the command as standard input."

(man 5 crontab)

-- 
Live every day like it's your last because someday you're going to be right.

-- Muhammad Ali

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/20201211081614.GF5777%40elros.gerdesas.com.

Attachment: signature.asc
Description: PGP signature

Reply via email to