[Labs-l] Cron jobs can't connect to the database

John phoenixoverride at gmail.com
Fri Jun 27 10:12:54 UTC 2014

Can you try and run https://dpaste.de/O2jg its a python script. If it
throws an error send that back too.


On Fri, Jun 27, 2014 at 5:38 AM, Andre Karwath <aka at aka-online.de> wrote:

>  Hi,
> 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.
> I put a small example script to http://pastebin.com/hSnhee8U
> I already tried to use an absolute path to the .cnf file, but this did not
> solve the problem.
> Any ideas?
> Regards,
>    André (aka)
> --
> André Karwath, Dipl. Inf.aka at aka-online.de
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20140627/d6ed46a8/attachment.html>

More information about the Labs-l mailing list