http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/jobs-loop/run-jobs.c?revision=22101&view=markup&sortby=date

As mentioned, it is just a sample script. For sites with just one 
master/slave cluster, any simple script that keeps looping to run 
maintenance/runJobs.php will do.

-Aaron

--------------------------------------------------
From: "Marco Schuster" <ma...@harddisk.is-a-geek.org>
Sent: Tuesday, January 27, 2009 6:56 PM
To: "Wikimedia developers" <wikitech-l@lists.wikimedia.org>
Subject: Re: [Wikitech-l] MediaWiki Slow, what to look for?

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, Jan 27, 2009 at 6:56 PM, Jason Schulz  wrote:
>> Also, see
>> http://www.mediawiki.org/wiki/User:Aaron_Schulz/How_to_make_MediaWiki_fast
> The shell script you mention in step 2 has some stuff in it that makes
> it unusable outside Wikimedia:
> 1) lots of hard-coded paths
> 2) what is "/usr/local/bin/run-jobs"?
>
> I'd put "0 0 * * * /usr/bin/php /var/www/wiki/maintenance/runJobs.php
> 2>&1 > /var/log/runJobs.log" as crontab entry in your guide, as it's a
> bit more compatible with non-wikimedia environments ;)
>
> Marco
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.2)
>
> iD8DBQFJf59oW6S2GapJUuQRAvYCAJ4vWBAHSTHlJljfnnUSF7IpZlechQCcCY5A
> Zb5SMJz146sM5HalNQuA/9k=
> =Ie27
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> 

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to