&gt; 1. &nbsp;when there are commercial flagging jobs. &nbsp;I want the slave to do all<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">&gt; flagging. &nbsp;When my combined FE/BE is flagging i get pre-buffers when<br>&gt; watching HD so i would prefer it not to ever do it.<br><br></div>Nice idea, I like it.<br><br>Make your own script (bash or perl) which runs mythcommflagging. It
<br>could work like this:<br>1. check whether slave is online (with ping or something else)<br>2. if not, run WOL command to wake slave and wait 1-2 minutes to finish booting<br>3. run mythcommflag &nbsp;(for the slave)<br></blockquote>
<div><br>So here is what I was thinking...<br><br>I need to parse the xml file that is on <i>ip_of_master</i>:3644/xml<br>then parse that to leave me with whats in between &lt;JobQueue&gt; and &lt;/JobQueue&gt;<br>Inside that it appears jobs are listed.&nbsp; There is a field that lists Status.&nbsp; When this equals 1 a job is in queue. So i need to power on the FE(if its not already running), ssh to it, and run the mythjobqueue.&nbsp; 
<br><br>Then, my though was to have the master check the status of the job queue every 30 mins.&nbsp; If there is any pending or in-progress jobs do nothing.&nbsp; If all jobs are status=272 (this means completed)&nbsp; ssh to the FE and power it off.&nbsp; I think 30mins would be a good timing to not be powering off the backend all the time, maybe i should make it longer Thoughts?
<br><br><br>Anyone be willing to work on a script?&nbsp; I am not very inclined on scripting yet.<br><br>also CCing the Dev list.&nbsp; Devs,&nbsp; maybe a script isnt the best idea.&nbsp; Would doing this in the backend be easier/better?<br>
<br>Thanks,<br>Mitchell<br></div></div>