Jump to content

Mediawiki Maintenance Scripts


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 post
Share on other sites

To run the one-off script you can open a ticket with the help desk and ask them to run it for you. The other scripts should be easily set up as cron jobs. It's not difficult to set up a cron job in cPanel. If you have trouble the help desk can assist you with it.

Link to post
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
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...