Am 27.06.2014 12:11, schrieb Merlijn van Deen:
On 27 June 2014 11:38, Andre Karwath <[email protected] <mailto:[email protected]>> wrote:

    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.

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?

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)".

Regards,
   André (aka)
_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to