Hi,
I have problem with running emcast from cron job (I use emcast because it supports multicasting). I have simple script that looks like this:
emcast 234.5.6.1:1234 > file.ts
Script is saved like stream.sh
When I run it from shell, file is created and some data is written in it. When I try to run it from cron job, script is executed, file is created, but file size is 0.
My crontab configuration look like this:
HOME=/home/nnn/Streaming
PATH=/home/nnn/Streaming:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:$
SHELL=/bin/bash
50 * * * * stream.sh
I also tried to make some logs with this script:
emcast 234.5.6.1:1234 > fajl.ts 2>/tmp/error.log
but error.log file is empty
Thanks