Can you try and run <a href="https://dpaste.de/O2jg">https://dpaste.de/O2jg</a> its a python script. If it throws an error send that back too.<br><br>Thanks<br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 5:38 AM, Andre Karwath <span dir="ltr"><<a href="mailto:aka@aka-online.de" target="_blank">aka@aka-online.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <span>Hi,<br>
      <br>
      I just migrated a tool from the toolserver to labs. It works as
      long as I ran it from a shell, but it gets no database connection
      if I start it as cronjob.<br>
      <br>
      I put a small example script to <a href="http://pastebin.com/hSnhee8U" target="_blank">http://pastebin.com/hSnhee8U</a><br>
      I already tried to use an absolute path to the .cnf file, but this
      did not solve the problem.<br>
      <br>
      Any ideas?<br>
      <br>
      Regards,<br>
         André (aka)<span class="HOEnZb"><font color="#888888"><br>
    </font></span></span><span class="HOEnZb"><font color="#888888">
    <pre cols="72">-- 
André Karwath, Dipl. Inf.
<a href="mailto:aka@aka-online.de" target="_blank">aka@aka-online.de</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br>