Mailing List archive

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

[vdr] Running command at shutdown



Hi,
I have an EPG script that I want to run at VDR start or shutdown. This sends data via svdrpsend to VDR, so VDR must still be running.
I added the command to VDRSHUTDOWN.SH. I added it at the start like this

/usr/local/src/GETXML/getbbc.sh &

sleep 20

NVRAMCMD .........etc etc etc


I see in the log that it starts, but it takes about 30 seconds to run.
Problem is I cannot see normally if all the data was sent to VDR OK.
Normally it takes about 2-6 seconds to run.

So, is VDR no longer processing SVDRPSEND data once it has started to shutdown? If not, what would be the correct way to run such a script that should run fairly often, and should only run when VDR is active?
Is there an easier way?

Cheers Brian








Home | Main Index | Thread Index