Thread: cron not working ubuntu server 11.10
hi,
trying setup cron job runs everyday capture audio stream internet using rtmpdump tool.
have done:
i start rtmpdump start capturing audio stream every morning @ 4am , output file in /home/public/ directory.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
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
Post a Comment