![]() |
vb3 - prune forums/rebuild search index with cron job?
Folks -
Is it possible to prune forums and empty and rebuild the search index as a cron job? If so, how? I've got a couple of kinda high-traffic Usenet forums I'd like to keep under control. thanks! |
im not sure but i think you could set up when it prunes
|
It's perfectly possible - but I wouldn't reccomend it as rebuilding the search index takes a long time on big boards and even small boards. Hence if you have a user post in the middle of it's going to take a long while. You could however write a script to turn the board off, do your stuff and then turn it back on :)
|
Thanks, Dean -
Anybody have an idea how to prune forums as a real (non-vb) cron job? |
Code:
lock tables post, thread, forum write; |
Thanks, Kirby -
I was thinking more along the lines of which switches to add to thread.php so I could run it as a standalone or through lynx - because I'm looking to maintain threads where the last post is <90 days old in a single forum and then recurse into its child forums. I'm pretty sure thread.php?do=prune will do what I need but I haven't figured out exactly how to spell it out on a command line. I appreciate you taking the time with the sql query, though - thank you. |
All times are GMT. The time now is 08:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|