The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I make a cron job to erase access logs?
Every 3 weeks my database/tables crash because my access logs use-up all my space. They told me to create (my host) a cron job to erase my access logs every 2 weeks. So, how can I make one and install it?
I really have no knowledge of any of this. Please assist me! Magnus |
#2
|
|||
|
|||
a cron job that you are refering to is specifically server-side.. not the "cron" that vBulletin is using..
you just need to prune threads and such is what it seems to me.. how big is your DB? |
#3
|
|||
|
|||
not large at all (60-90megs), but it fills in 700megs of space monthly with the access logs?
I guess since it's servr side that it reallly has ZERO to do with VB. Sorry! If anyone can help please feel free to post or rather pm me. thanks |
#4
|
|||
|
|||
ok.. those are your apache access-logs.. you can do a "man cron" as well as "man crontab" and read up on cron inside your server or just have a look here at this intro to cron at unixgeeks..
http://www.unixgeeks.org/security/ne...ix/cron-1.html |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|