Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Pb : svdrp, script and crontab



On Mon, 24 Nov 2003 22:19:29 +0100
"karim" <kafifi@nerim.net> wrote:

> Hi all,
> 
> I am using a script to download datas from EPG channel, and pass it to vdr
> (epg.data) via svdrp.
> The script is doing 3 tasks :
> 
> 1. switch vdr from current channel to "epg channel"
> 2. downloading data to "epgtmp.data"
> 3. passing "epgtmp.data" to "epg.data" via svdrp.
> 
> If I launch the script manually, all tasks are running well. But under cron,
> only steps 1 and 2 are done;
> I see that vdr is switching to epg channel and epgtmp.data is growing. No
> data is passed to epg.data.
> 
> Is there any tips to run svdrp through a script which is running under cron
> ?

Yes, use absolute paths (/usr/local/bin/svdrpsend.pl instead of svdrpsend.pl) and redirect scripts output either to a log file or to > /dev/null, so that the scripts don't get stuck trying to produce some output over a non-existent terminal


Mattia


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index