Try the following. It fixed it for me. #!/bin/bash export PATH=$PATH:/root/.mythtv export QTDIR=/usr/lib/qt3 export HOME=/root /usr/local/bin/mythfilldatabase >> /var/log/myth/filldatabase.log 2>&1 Scott