<br><div><div><br>Hi again,<br> <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Will do.</blockquote><div><br>THanks <br></div>
<div><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Glad you like it! BTW - one thing you may not be aware of is that in<br>order to use the OzTiVo guide data you have to create a free account
<br>on their site 1st. Just letting you know in case that crops up down<br>the track.</blockquote><div><br>Yea i saw that, i went to the .org site and could not figure out how to register!!!<br>leave that for another time.
<br></div><div><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have a shell script in /etc/cron.daily. Scripts in this directory
<br>run once/day at no fixed time. This is better than a cron job running<br>at a fixed time because if the machine is off when a fixed time cron<br>job is supposed to run then the job won't run until the next time it's<br>
scheduled which will probably be the next day and the machine may be<br>down again at that time and so on. Scripts in /etc/cron.daily will run<br>once/day whenever the machine comes up. I think you may have to<br>install the "anacron" package for this to work.
<br><br>My script looks like this:<br><br>#!/bin/bash<br># Run tv_grab_au to get TV listings. This could be a symlink except I need<br># to redirect output to /dev/null so I don't get emails from cron.<br><br>/usr/local/bin/tv_grab_au.sh 1>/dev/null 2>&1
</blockquote><div><br></div></div>THat does make a lots sence, i will do that when i get home.<br><br>Have another question for you.<br><br>You have setup some varialbles at the top of the shell script for each type of grabbers. I was wondering if you can set some more/different ones for sed comands etc like,
<br><br>City = Sydney (change this for the different states.)<br><br>Format = <a href="http://sydney.seven.com.au">sydney.seven.com.au</a><br><br>and so on.<br>I am guessing that this would make it easier to mod the script for your state and it could then be indroduced into the package with the DVB OWNER's check as default. (and that should take some load off the tv station servers, and then might not change it as much).
<br><br>And the final one, although i doubt this will happen.<br>To make the file go to the next option, say from dvb owners to D1 when it errors. This is going to make the script a bit complex and i am not sure of the need. Just a thought.
<br><br>Actually i would like to tackle the top one myself, if you tell me it can be done.<br><br>thanks for helping out us noob's <br><br>CH<br><br><br>