Mailing List Archive

mythfilldatabase and cron
I installed the mythfilldatabasecron script in my
Mandrake 9.1
etc/cron.daily directory as instructed in the HOWTO
but discovered that the
database was not being updated. Running
mythfilldatabase manually as root,
I discovered that root needed .xawtv, which I copied
to root's home
directory (/root). It now works when run manually as
root, but not from
cron, despite the fact that /etc/crontab lists the
daily stuff as being run
as root.

Where else should I look? Yes, I can set up a
per-user crontab, but I like
the idea of being independent of any user.


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Re: mythfilldatabase and cron [ In reply to ]
> Where else should I look? Yes, I can set up a
> per-user crontab, but I like
> the idea of being independent of any user.

I had to write my own mythfilldatabase cron script:

su -c "/usr/bin/mythfilldatabase 2>/dev/null" mythtv_user

worked a lot better (for my needs) than mythtv's did, since it actually
knew where to grab the xmltv settings from.

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users