You are here

MythTV

1. Install and configure WG++ (see the Linux install documentation)

2. Make a script to run WG++ and update the MythTV database

Create a file called update.sh in the ~/wg++ directory and parse the next text into it

#!/bin/bash
~/.wg++/run.sh
mythfilldatabase --refresh 14 --file --sourceid 1 --xmlfile ~/.wg++/guide.xml

make this file executable

chmod +x update.sh

3. Check if the script runs ok.

execute the script manualy

~/wg++/update.sh

Check if all goes well.

4. Make this script run automaticly with a cronjob (eg. every day at 2:15)

run

crontab -e

then add next line to that file

15 2 * * * ~/wg++/update.sh

 

 

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl