I am having the EXACT same problem! pissed me off too, cause it seemed to be
working good for a couple days, I set some stuff up to record, and wasn't
there to monitor it, and bam! record_daemon stopped running on me, and now I
missed the shows!!! @[EMAIL PROTECTED]@
I wrote a similar script that I now call every minute from cron:

#!/bin/sh

/bin/rm -f /var/run/freevo-record_daemon.py.pid
cd /usr/local/freevo
./freevo execute src/tv/record_daemon.py


hopefully this will help solve my problem. I setup an extensive recording
schedule today to test the new script, and am keeping my fingers crossed
that it works.

--Robert



----- Original Message -----
From: "K. Creason" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 17, 2003 1:15 PM
Subject: [Freevo-users] what is up with the pid files?


> My record_daemon.py was constantly breaking due to the pid file in
/var/run.
> The previous process isn't running - but that @[EMAIL PROTECTED] pid file was still
> there and stopping the next one.
> Actually, now that I think back, it's always still there but sometimes it
> would run and sometimes it wouldn't. And once it wouldn't, you couldn't
get
> it to start again until you removed the pid file.
> What is with that? Shouldn't it be removed when the daemon exits?
>
> I had to modify my cron entry:
> * * * * * cd /usr/local/freevo; ./freevo execute src/tv/record_daemon.py
> >>/tmp/freevo.cron.out 2>&1 ; sleep 10; rm
> /var/run/freevo-record_daemon.py.pid >>/tmp/freevo.cron.out 2>&1
>
> Now I'm happy, but is it an accident waiting to happen?
>
> -K
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to