![]() |
|
Mod Options |
![]() |
|||||||||||||||
Clear Cache Scheduled Task by BOP5
![]() Developer Last Online: Apr 2022 ![]() ![]() ![]()
The purpose of this file is to clear the cache on a regular basis. Most sites will not need this. Do not attempt to install it unless you have very good reason to.
To use/install 1) Download file, extract bop5_clearcache.php file and upload it to the /core/admincp/ folder. 2) Go to the Admin CP -> Scheduled Tasks -> Add New Scheduled Task 3) Fill out the form as the following: Varname: vbcacheclean Day of the week: * Day of the month: * Hour: 20 Minute: 10 - - - - - Active: Yes Log Entries: No Filename:
Product: vBulletin vBulletin Default: Yes (Leave unmentioned fields blank or as is) --- Of course you can change the hour and minute to your needs, this example will run once a day around 20:10 (or 8:10PM.) You should set this to run at a relatively busy time for the forum, so it doesn't get missed, but not necessarily the busiest time. This will erase it once a day. You can adjust the settings above to run it more often, such as once an hour by setting Hour to * instead of a set number. I hope this helps, I know some people have asked for this, even though it should not be needed it sometimes is. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
The following members like this post: KevinL
|
Comments |
#3
|
||||
|
||||
Nice to see some vB5-Stuff from you!
__________________
![]() The following members like this post: BirdOPrey5
|
#4
|
||||
|
||||
thanks alot installed
The following members like this post: BirdOPrey5
|
#5
|
||||
|
||||
Thanks!
__________________
https://forumivirtual.com The following members like this post: BirdOPrey5
|
#6
|
|||
|
|||
Thanks for taking the time to do this!
No members have liked this post.
|
#7
|
|||
|
|||
Installed tanks!
No members have liked this post.
|
#8
|
|||
|
|||
Hi
I have installed the files bop5_clearcache.php in the folder /core/admincp/ as specified In the Scheduled Task the path "./admincp/bop5_clearcache.php" is correct? If i click in the "Viewing scheduled operation logs" i don't see any execution of the files The mod it doesn't seem to work No members have liked this post.
|
#9
|
|||
|
|||
didn't work for me either. I have to manually clean the cache daily.
No members have liked this post.
|
#10
|
|||
|
|||
Me too, didn't work on v5.6.1
No members have liked this post.
|
#11
|
|||
|
|||
That's right it doesn't work. Can anyone help and review this script for vb 5.6.4?
No members have liked this post.
|
#12
|
||||
|
||||
Just put it to core/includes/cron (have no package here but should be the standard path for vb crons...) and look at any other cron for the path to use. It is not working because the path is wrong now.
__________________
![]() No members have liked this post.
|
#13
|
|||
|
|||
Posted in core/includes/cron/bop5_clearcache.php
In the options Name file: .core/includes/cron/bop5_clearcache.php If I click run now: It says Done but it doesn't actually work No members have liked this post.
|
#14
|
||||
|
||||
Ok, the code of this plugin is not the best but I did not check it before.
I created my own addon in 2018... that code work! Replace everything in your file with:
That should work!
__________________
![]() The following members like this post: Mr Peabody, DamasGate
|
#15
|
||||
|
||||
Originally Posted by delicjous
Thank you
![]()
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:48.