[mythtv] cron'ing mythfilldatabase

Robert Kulagowski mythtv-dev@snowman.net
Mon, 11 Nov 2002 20:43:13 -0600


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The following works on Mandrake 9.0:

File "mythcrontab":
# The following will run the mythfilldatabase shell script at 18:00
every day.  Format is
# minutes hour day_of_month month day_of_week
# In the case of mythfilldatabase, we want it to run at 1800 daily.
# man 5 crontab for more information
# Need to use a shell script because the QTDIR environment variable
isn't
# being honored by crontab?
0 18 * * * /bin/bash
$HOME/mythtv/MC/programs/mythfilldatabase/mythfilldatabasecron

% crontab mythcrontab

File programs/mythfilldatabase/mythfilldatabasecron:
#!/bin/bash
export QTDIR=/usr/lib/qt3
/usr/local/bin/mythfilldatabase

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPdBqwfc1NpCTlP0JEQJC8gCfd2+iazYJQLCqWXkVZjDLi6ZG0E0AoNfv
YQ0RI6JvwOKt0p1wZgvYlhkI
=T6QU
-----END PGP SIGNATURE-----