[mythtv-users] Foolish cron question (mythfilldatabase)

William Preston bpreston at networkusa.net
Fri Feb 7 15:29:24 UTC 2003


Use the cronjob that comes in in the configfiles directory.


----- Original Message -----
From: <Jeff_Mitchell at accessbusinessgroup.com>
To: "Discussion about mythtv" <mythtv-users at snowman.net>
Sent: Friday, February 07, 2003 9:12 AM
Subject: [mythtv-users] Foolish cron question (mythfilldatabase)


> All-
>
> I apologize in advance, because I'm sure I'm missong something really
easy
> here, but I'm trying to get a cron job to successfully run
mythfilldatabase
> on a daily basis.  Below, you can see a listing of the cron job,
followed
> by a listing of the text file created when this job runs.  Right now,
I've
> got the job in the hourly directory, because I'm working on it.
Obviously,
> I'll move it once it starts working.  Note that if I run this as either
> root or a normal user, it runs fine (except for xmltv's problems with
the
> new North American format -- I'll have to reinstall xmltv at some point,
it
> seems.)
>
> [root at localhost root]# cat /etc/cron.hourly/mythfilldb
> #!/bin/bash
> QTDIR=/usr/lib/qt3
> PATH=$PATH:/usr/lib/qt3
> echo $PATH >/var/store/tv/filldblog.txt
> echo $QTDIR >>/var/store/tv/filldblog.txt
> /usr/local/bin/mythfilldatabase >>/var/store/tv/filldblog.txt
> 2>>/var/store/tv/filldblog.txt
> [root at localhost root]# cat /var/store/tv/filldblog.txt
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/qt3
> /usr/lib/qt3
> QSqlDatabase warning: QMYSQL3 driver not loaded
> QSqlDatabase: available drivers:
> couldn't open db
> [root at localhost root]#
>
> So, what's the deal with QMYSQL3?  Is that the Qt MySQL driver?  I've
> scoured the lists, and checked the things mentioned in posts dealing
with
> the driver, but to no avail.  Any insight would be greatly appreciated.
>
> -Jeff
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list