<div dir="ltr">Just for posterity, i wanted to finish this thread by noting that i fixed the issue by uninstalling anacron. Apparently the environment that anacron sets up when it is run was the cause of the mythtv environment breakage. Running directly within cron was the fix.<div>
<br></div><div>I chose to uninstall anacron because this is an always-on machine. Alternately, one could edit the crontab to run the job directly and achieve the same results.</div><div><br></div><div>Regards,</div><div>
-B</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 11:17 PM, Brenden Conte <span dir="ltr"><<a href="mailto:brenden@thecontes.info" target="_blank">brenden@thecontes.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Michael, at least i now know whats going on!<div><br></div><div>Unfortunately there doesn't seem to be any output when its doing this. Look like i'll have to engage in a bit of trial and error to dig deeper</div>
<div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div>-B</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 10:17 PM, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 07/17/2013 08:33 PM, Brenden Conte wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone,<br>
<br>
I have a strange problem where mythshutdown --check running within a daily cronjob is always returning 130... however when I 'su' to root and run the command manually, it returns the proper result.<br>
<br>
I wasn't able to find anything about this, so I was wondering if anyone else had run into something like this or be able to tell me what that return code means.<br>
</blockquote>
<br></div></div>
Exit code 130 means the application was unable to create a MythContext--likely because you have a broken environment (i.e. no HOME specified or something). If you redirect std out/err of the command, you may get some log messages that tell you exactly what's wrong (I'm assuming that because it's unable to create the MythContext, it's also unable to log normally, but if that's not the case, the normal log files will tell you exactly what's happening).<br>
<br>
Mike<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>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>