Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Clear CMS Cache Cron Details »
Clear CMS Cache Cron
Mod Version: 1.00, by reefland (Member) reefland is offline
Developer Last Online: Jan 2012 I like it Show Printable Version Email this Page

vB Version: 4.0.4 Rating: (4 votes - 4.75 average) Installs: 29
Released: 21 Jul 2010 Last Update: Never Downloads: 138
Not Supported Additional Files  

This was developed in order to deal with some of the wackiness that users are experiencing with the CMS Cache. Problems include things such as user comments not appearing and article previews being inaccurate after editing.

The only way to resolve these issues are to clear the CMS cache, which can be problematic when an admin is not available to do so and problems are being experienced. Or, use this super duper easy add-on that just cron's the activity which is setup in Scheduled Tasks.

Installation Instructions:
1. Download the attached file.
2. Upload the file to /includes/cron
3. Go to your admincp and browse to Scheduled Tasks and Add New Scheduled Task.
3A. Varname = Clear CMS Cache
3B. Description = Whatever you want
3C. Log Phrase = Whatever you want (cms cache cleared)
3D. Day of Week = *
3E. Day of Month = *
3F. Hour = *
3G. Minute = 0, 10, 20, 30, 40, 50
3H. Active = Yes
3I. Log Entries = whatever...
3J. Filename = ./includes/cron/clear_cms_cache_cron.php
3K. Product = vbulletin


Note that clearing the cache is not recommended from a server performance standpoint. However as long as the frequency that you clear it is not extreme (every minute), you will not notice any problems (at least I haven't even on shared hosting).

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 22 Jul 2010, 23:39
Bram H Bram H is offline
 
Join Date: Jul 2007
Hesitating to install. I am one of those people that suffers from this not clearing cache on the CMS side of things, and I am clueless why vB are not solving this. Has been reported over and over again since the day vB 4 came out.

Thanks for the modification though, top job! *Tagged*
__________________
RaceDepartment.com
Reply With Quote
  #3  
Old 24 Jul 2010, 21:28
reefland reefland is offline
 
Join Date: Jan 2002
I have a good feeling that the next version should fix some of this. Had some testing and work done by the vb team on this exact issue.
__________________
Kentucky Wildcats Sports
Reply With Quote
  #4  
Old 22 Aug 2010, 09:13
forexforum forexforum is offline
 
Join Date: Sep 2008
Hi I understand this is for vBulletin CMS.

However, in your installation guide, it says:
3K. Product = vbulletin

Isn't it should be vBulletin CMS?

Also, can I set:

3F. Hour = 2
3G. Minute = *

Thanks.
Reply With Quote
  #5  
Old 23 Aug 2010, 09:23
K4GAP K4GAP is offline
 
Join Date: Mar 2008
A wonderful idea. I'm just tagging right now as I'm leery of installing anything there may be some questions about. After a few more comments and debugging, I'll happily install.

Thanks for sharing
Reply With Quote
  #6  
Old 23 Aug 2010, 10:16
forexforum forexforum is offline
 
Join Date: Sep 2008
Originally Posted by forexforum View Post
Hi I understand this is for vBulletin CMS.

However, in your installation guide, it says:
3K. Product = vbulletin

Isn't it should be vBulletin CMS?

Also, can I set:

3F. Hour = 2
3G. Minute = *

Thanks.
Sorry the php script you provided doesn't really work (cron at times never run).

However, actually vb 4.0.5 already addressed to this issue but they run only daily cron.

All you need to do is the change the daily to similar settings as above will do. Don't have to use this script.

VB script is called "CMS Daily Cleanup". Works for me. Cheers.
Reply With Quote
  #7  
Old 23 Aug 2010, 10:23
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Originally Posted by reefland View Post
I have a good feeling that the next version should fix some of this. Had some testing and work done by the vb team on this exact issue.
Originally Posted by forexforum View Post
Sorry the php script you provided doesn't really work (cron at times never run).

However, actually vb 4.0.5 already addressed to this issue but they run only daily cron.

All you need to do is the change the daily to similar settings as above will do. Don't have to use this script.

VB script is called "CMS Daily Cleanup". Works for me. Cheers.
I believe he addressed that above... Also note the version number this is compatible with via the mod info above, 4.0.4 so this along with some other mods work on older versions only whereas vB makes improvements along the way so naturally you would uninstall/remove upon upgrading.
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #8  
Old 19 Oct 2010, 18:24
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Question

I'm running v4.04pl1 ....

Will this work for me as I'm experiencing some wonkiness with articles on our vbCMS installation...

Regards,
Badger

Edit: What I meant was that when I run it, all I see is this:

Blog - Hourly Cleanup

Done

Last edited by BadgerDog; 19 Oct 2010 at 18:30.
Reply With Quote
  #9  
Old 10 Feb 2011, 14:15
Max Paint's Avatar
Max Paint Max Paint is offline
 
Join Date: Mar 2008
Thank you very much!
Reply With Quote
  #10  
Old 10 May 2011, 04:58
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
I just bought VB4, Is this still an issue in 4.1.3? Is it still worth getting this modification?

Last edited by |Jordan|; 10 May 2011 at 07:51.
Reply With Quote
  #11  
Old 11 Jan 2012, 00:56
sticky sticky is offline
 
Join Date: Sep 2003
Not working on 4.1.10 and CMS daily cleanup does not seem to clear the cache.

Any other solution?
Reply With Quote
  #12  
Old 05 Jul 2013, 23:33
avitor avitor is offline
 
Join Date: Jun 2007
Varname = Clear CMS Cache
is wrong bro
can you tell me what is the real varname ?
thankks
__________________
Nature Live
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:33.

Layout Options | Width: Wide Color: