[mythtv-users] Folding at home, having it start/stop between recordings/jobs??

Tom Kammerer thomas.kammerer at xo.com
Tue Apr 21 23:35:34 UTC 2009

On Tue, 2009-04-21 at 16:11 -0400, Bobby Gill wrote:
> I have set up folding at home to run on my backend, however I'm wondering
> how I can have it so that f at h runs whenever the mythbackend is NOT
> recording? Since the f at h takes up 100% CPU (I have a P4 3.4ghz EE) I'd
> love to configure it so they run alternately. I know I can pop the
> rc.d/foldingathome stop/start in my crontab for whenever, but I'd like
> to take it that step further as indicated. Really appreciate any help,
> thanks a bunch.

You could just write your cronjob to check to see the current status of
your encoders and start/stop folding as needed.  Maybe run the check
every 30 minutes or so.

wget -qO- localhost:6544 | grep -c "not recording."

That should return the total number of encoders in use.  


More information about the mythtv-users mailing list