vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Administrative and Maintenance Tools - Clear Cache Scheduled Task by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=327063)

BirdOPrey5 01-29-2019 10:00 PM

Clear Cache Scheduled Task by BOP5
 
1 Attachment(s)
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:
Code:

./admincp/bop5_clearcache.php
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.

Papa Bear 01-30-2019 07:32 PM

Installed.

delicjous 01-30-2019 07:57 PM

Nice to see some vB5-Stuff from you!

Eng.mohd.badawi 01-31-2019 06:30 PM

thanks alot installed

WxP 02-01-2019 03:27 PM

Thanks!

mphensley 12-07-2019 04:30 PM

Thanks for taking the time to do this!

migratoria 12-17-2019 11:05 AM

Installed tanks!

migratoria 04-19-2020 03:28 PM

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

Mr Peabody 02-03-2021 07:23 PM

didn't work for me either. I have to manually clean the cache daily.

DamasGate 02-06-2021 10:06 AM

Me too, didn't work on v5.6.1


All times are GMT. The time now is 11:35 PM.

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.01153 seconds
  • Memory Usage 1,722KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete