The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello
![]() is it possible to create a cronjob, which repair and optimize the database/tables everey x days? Sorry for my bad english, iam german ^^ Hope anyone can help me ![]() Best regards |
#2
|
||||
|
||||
![]()
*puhs*
No1 have an idea? |
#3
|
|||
|
|||
![]()
You have the unzipped files for your forum on your computer, right?
In the AdminCP folder, check the code for repair.php. Copy out the code for the "?do=dorepair" section to a new script (maybe call it cronrepair.php) then adjust to your liking. Scheduling vB's cronjob to run this script would be done in AdminCP -> Scheduled Tasks. |
#4
|
||||
|
||||
![]()
Is this from line 125 to 135? (// ######################### Start do repair #####################)
Iam not the greatest coder, so i dont know exatly which lines are for this feature ![]() |
#5
|
||||
|
||||
![]()
It is not a good idea to repair your tables just for the sake of it. You should only have to repair them if their are problems.
|
#6
|
||||
|
||||
![]()
Hello Lynne,
some peoples mean, that is better when i repair/optimize everey week. isnt it? |
#7
|
||||
|
||||
![]()
No. You should only repair/optimize your tables if needed. They will take care of themselves. If your database *needs* to be repaired often, then there is something wrong and you should be talking to your host.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|