Skip to main content

Thread: cron not working ubuntu server 11.10


hi,
trying setup cron job runs everyday capture audio stream internet using rtmpdump tool.
have done:
code:
[0 4 * * * /usr/bin/rtmpdump -n 1.1.1.1 -c 1940 --playpath radio -r rtmp://1.1.1.1:1940/radio -o /home/public/test
i start rtmpdump start capturing audio stream every morning @ 4am , output file in /home/public/ directory.
have tried root , normal user not output in output directory.
when run same line of command cli works fine without issue. can advise if doing wrong?

please note ip address given not real...it example.
how view logs, i.e. error messages cron maybe gnerating.

help.

i not best cron person.but need have 0 brfore 4 ?

00 04 * * * /usr/bin/rtmpdump -n 1.1.1.1 -c 1940 --playpath radio -r rtmp://1.1.1.1:1940/radio -o /home/public/test

can read more cron here
https://help.ubuntu.com/community/cronhowto


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] cron not working ubuntu server 11.10


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?