Clear CMS Cache Cron
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
clear_cms_cache_cron.php (1.6 KB, 151 downloads) |