I run mythfilldatabase from a daily cron job which picks up the listings from a xmltv file prepared earlier. When I run this as mythtv from the command line it works fine. But when it's run from the cron job I get these errors:<br>
2008-04-05 14:25:32.211 Bypassing grabbers, reading directly from file<br> 2008-04-05 14:25:32.212 Using runtime prefix = /usr, libdir = /usr/lib<br> 2008-04-05 14:25:32.212 Cannot locate your home directory. Please set the<br>
+environment variable HOME or MYTHCONFDIR<br> 2008-04-05 14:25:32.212 Failed to init MythContext, exiting.<br><br>I put this line in /etc/sysconfig/mythbackend but it's obviously not what's needed because the problem still occurs:<br>
MYTHCONFDIR=/home/mythtv/.mythtv<br><br>Can anyone advise what I need to do to fix this? It says to set HOME or MYTHCONFDIR, but where do I set it and what do I set it to?<br><br>Regards,<br>Phill<br>