Go Back   vb.org Archive > vBulletin Modifications > vBulletin 5.x Modifications > vBulletin 5.x Products & Extensions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Clear Cache Scheduled Task by BOP5 Details »»
Clear Cache Scheduled Task by BOP5
Version: 1.00, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 5.4.x Rating:
Released: 01-29-2019 Last Update: Never Installs: 15
Re-useable Code  
No support by the author.

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.

Download Now

File Type: zip bop5_clearcache.zip (344 Bytes, 99 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
KevinL

Comments
  #2  
Old 01-30-2019, 07:32 PM
Papa Bear's Avatar
Papa Bear Papa Bear is offline
 
Join Date: Apr 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.
Reply With Quote
  #3  
Old 01-30-2019, 07:57 PM
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice to see some vB5-Stuff from you!
Reply With Quote
Благодарность от:
BirdOPrey5
  #4  
Old 01-31-2019, 06:30 PM
Eng.mohd.badawi's Avatar
Eng.mohd.badawi Eng.mohd.badawi is offline
 
Join Date: May 2018
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks alot installed
Reply With Quote
Благодарность от:
BirdOPrey5
  #5  
Old 02-01-2019, 03:27 PM
WxP's Avatar
WxP WxP is offline
 
Join Date: Dec 2005
Location: Albania
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
Благодарность от:
BirdOPrey5
  #6  
Old 12-07-2019, 04:30 PM
mphensley mphensley is offline
 
Join Date: Mar 2014
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for taking the time to do this!
Reply With Quote
  #7  
Old 12-17-2019, 11:05 AM
migratoria migratoria is offline
 
Join Date: Oct 2011
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed tanks!
Reply With Quote
  #8  
Old 04-19-2020, 03:28 PM
migratoria migratoria is offline
 
Join Date: Oct 2011
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 02-03-2021, 07:23 PM
Mr Peabody Mr Peabody is offline
 
Join Date: May 2004
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didn't work for me either. I have to manually clean the cache daily.
Reply With Quote
  #10  
Old 02-06-2021, 10:06 AM
DamasGate DamasGate is offline
 
Join Date: Aug 2003
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me too, didn't work on v5.6.1
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05077 seconds
  • Memory Usage 2,315KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete