[mythtv-users] mythfilldatabase runs from command line, but not from cron

David Watkins watkinshome at gmail.com
Wed Nov 14 09:17:45 UTC 2007

> Is there a command or syntax I can use to ensure that the cron job
> executes the script with the same environment settings as the user?
> Thank you for any advise.

I don't know about that but, to get a bit closer to the problem you
could modify your script to send the console output of
mythfilldatabase to a file.

ie add

> /home/media/scripts/getschedule.log

to the end of the mythfilldatabase line

There might be some clues in there.

More information about the mythtv-users mailing list