<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 31, 2013 at 12:21 PM, Bill Meek <span dir="ltr">&lt;<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/31/2013 10:58 AM, Captain Hook wrote:<br>
...<div class="im"><br>
&gt; On a related note, I am trying to run <a href="http://mythconverg_backup.pl" target="_blank">mythconverg_backup.pl</a> as a cron job<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
in my backend and am essentially having the same trouble.  My artwork<br>
wasn&#39;t refreshing automatically despite what I had in the MythTV setup<br>
screens, so I have added that in the crontab file and that part is working<br>
fine so I know the file is being read.<br>
<br>
Here are the contents of my crontab file (created with &quot;sudo crontab -e&quot;):<br>
<br>
</blockquote></div>
...<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
54 11 * * * ./usr/share/mythtv/<a href="http://mythconverg_backup.pl" target="_blank">mythconverg<u></u>_backup.pl</a><br>
</blockquote>
<br></div>
Drop the . before anything that specifies a full path name.<br>
That will only work if the current working directory is /.<br>
<br>
Since you&#39;re running the command as root , then the home<br>
directory (/root on my boxes,) must have a .mythtv<br>
directory (just like /home/mythtv or most likely your<br>
own user does.) Another option would be to run the command<br>
as user mythtv, then you wouldn&#39;t need to create /root/.mythtv/<br>
config.xml and backuprc.<br>
<br>
Personally, I store the output of the DB backup command in<br>
/tmp so I can look at if needed. And so it is removed at<br>
boot time:<br>
<br>
    /usr/local/share/mythtv/<a href="http://mythconverg_backup.pl" target="_blank">mythco<u></u>nverg_backup.pl</a> --verbose 2&gt;&amp;1 &gt; /tmp/myth-backup.log<br>
<br>
I can&#39;t address metadatabackup. In 0.27-beta, it just works. No<br>
cron required (it&#39;s done by mythbackend&#39;s Housekeeping.)<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Bill</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">You were exactly correct; removing the dot and creating the crontab file as my own user did the trick and it works exactly as intended now.  Thanks!</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Regarding metadata, I&#39;m not really worried about that since I&#39;ve addressed it via crontab with the root user.  It is curious as to why it isn&#39;t running by mythbackend, however.</div>
<div class="gmail_extra"><br></div></div>