<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 27.06.2014 12:11, schrieb Merlijn
van Deen:<br>
</div>
<blockquote
cite="mid:CADJO0e+kPXbDnOdaC1TwjW_2cVagAmuxeU25tsw9u-5VedDMqw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On 27 June 2014 11:38, Andre Karwath
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:aka@aka-online.de" target="_blank">aka@aka-online.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span>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>
</span></div>
</blockquote>
<div> </div>
<div>What's the error message you get? Does the script start
at all (i.e. is it a cron error), do you get a perl error
(e.g. a missing library), or a database authentication
error?</div>
</div>
</div>
</div>
</blockquote>
<br>
The script works as long as I start it from a login shell (no perl
errors, no missing libaries). If a cronjob starts it, it starts too,
but the database connection failes with "Can't connect to MySQL
server on 'dewiki.labsdb' (110)".<br>
<br>
Regards,<br>
André (aka)<br>
</body>
</html>