[mythtv-users] Tv_grab_au --god help me.

Phill Edwards philledwards at gmail.com
Mon May 1 04:05:07 UTC 2006


> If i could suggest, next time you post this wonder full little script, could
> you adding the instructions you have just put here? i think it would say a
> lot of trouble for you on the list. But at the same time this email will do
> that for the sort term. If they bother to search for it.

Will do.

> Also i have to say this little script of yours is great, being able to
> choose between grabbers is great. And i didn't even know about the DVB
> owners listing.

Glad you like it! BTW - one thing you may not be aware of is that in
order to use the OzTiVo guide data you have to create a free account
on their site 1st. Just letting you know in case that crops up down
the track.

> Now all i have to do is figure out how to make the .sh script run at a
> specific time each day. Probably a CRON job. never written one before or
> even know how to write one. This should be interesting.
> Got any pointers?

I have a shell script in /etc/cron.daily. Scripts in this directory
run once/day at no fixed time. This is better than a cron job running
at a fixed time because if the machine is off when a fixed time cron
job is supposed to run then the job won't run until the next time it's
scheduled which will probably be the next day and the machine may be
down again at that time and so on. Scripts in /etc/cron.daily will run
once/day whenever the machine comes up. I think you may have to
install the "anacron" package for this to work.

My script looks like this:

#!/bin/bash
# Run tv_grab_au to get TV listings. This could be a symlink except I need
# to redirect output to /dev/null so I don't get emails from cron.

/usr/local/bin/tv_grab_au.sh 1>/dev/null 2>&1


More information about the mythtv-users mailing list