vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Running the maintenance operations from command line (https://vborg.vbsupport.ru/showthread.php?t=317834)

TiKu 03-18-2015 06:36 AM

Running the maintenance operations from command line
 
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...m-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 and try it that way.


All times are GMT. The time now is 05:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01097 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete