[mythtv-users] Can't run mythrename.sh from cron

James Pifer jep at obrien-pifer.com
Fri Feb 13 20:04:46 UTC 2009


> Edit your script to read:
> #!/bin/bash
> export HOME=/root
> perl 
> /usr/share/doc/mythtv-docs-0.21/contrib/mythrename.pl --link --underscores --format 
> '%T %- %S %- %Y%m%d%G%i%s'
> 
> As you can see in the error message, it's trying to open 
> //.mythtv/config.xml. Your home directory ought to be between those first 
> two slashes.

Worked. Thanks!

James



More information about the mythtv-users mailing list