Jump to content

Mediawiki Maintenance Scripts


Agrestis

Recommended Posts

I am running Mediawiki 1.14

 

I want to run some of the Maintenance scripts which perform certain important administrative tasks. I would also like to run the update script to update to the most recent version of Mediawiki. But the Mediawiki manual says all these scripts should be run from the command line, which we can't do in a TCH environment.

 

Does anyone know the best way to run maintenance scripts in the TCH environment? I particularly wish to run dumpBackup.php, refreshLinks.php and runJobs.php on a regular basis, calling them when needed. These scripts take a long time to run, so can't be called directly by PHP or they will time out.

 

I know it should be possible to set up a Cron job to call the scripts on a schedule, but I am unfamiliar with Cron so don't know the exact commands to use. Also how do I call a one-off job like the update script? Any advice or a link to a tutorial would be most welcome.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...