PDA

View Full Version : Running the maintenance operations from command line


TiKu
03-18-2015, 06:36 AM
Hi,

We've a quite huge forum and would like to run some of the maintenance scripts, for instance update the user rankings, the user renomee and so on.
Since the forum is huge, the web browser based scripts in admincp run for ages and most of the times they don't complete, for instance because the internet connection is terminated once in 24 hours.
Therefore we'd like to run the scripts directly on the server, from command line. How can this be done? I did not find any maintenance scripts that are meant to be run from command line.

Regards
TiKu

HM666
03-19-2015, 01:15 AM
To my knowledge there are none that are out there. This is something you would have to write yourself or hire someone to write for you. Have you tried putting in a smaller number in the stats you are recounting? Say if the default in the vBulletin AdminCp is 2000 put in 500 instead. This helps keep the browser from timing out and crashing.

TheLastSuperman
03-19-2015, 01:21 AM
http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/3954866-i-need-to-put-my-forum-in-maintenance-mode-from-command-line

See Wayne's comment last line.

HM666 is correct though, if set high try 250 instead of 500.

Alternatively you could modify the code posted by Andreas (https://vborg.vbsupport.ru/showthread.php?t=239990) and try it that way.