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

Andre Karwath aka at aka-online.de
Fri Jun 27 09:38:16 UTC 2014


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?

    André (aka)

André Karwath, Dipl. Inf.
aka at aka-online.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20140627/6d0c1e3c/attachment.html>

More information about the Labs-l mailing list