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

John phoenixoverride at gmail.com
Fri Jun 27 10:15:06 UTC 2014


Come to think about it you may be hitting the same problem described at
https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Why_am_I_getting_errors_about_libgcc_s.so.1_must_be_installed_for_pthread_cancel_to_work.3F

On Fri, Jun 27, 2014 at 6:12 AM, John <phoenixoverride at gmail.com> wrote:

> Can you try and run https://dpaste.de/O2jg its a python script. If it
> throws an error send that back too.
>
> Thanks
>
> 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/772b5229/attachment.html>


More information about the Labs-l mailing list