cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Clearing the Apache Cache Automatically? **SOLVED**

andrew_delk
1-Newbie

Clearing the Apache Cache Automatically? **SOLVED**

Hi guys,


I was on the phone with PTC support earlier and they mentioned something about creating a job that clears out all the Apache cache. Do you all know of something that can do this on a weekly basis?


Thanks for all the help. I have modified the supplied BAT file and made it my own. Thanks!

3 REPLIES 3
BenLoosli
23-Emerald II
(To:andrew_delk)

Create a batch file that stops Apache, deletes the folder, then restarts Apache.

Thank you,

Ben H. Loosli
USEC, INC.

On 2012-06-22 16:06, Andy Delk wrote:
> Hi guys,
>
> I was on the phone with PTC support earlier and they mentioned
> something about creating a job that clears out all the Apache cache.
> Do you all know of something that can do this on a weekly basis?
>

There should be a "htcacheclean" that can do this for you. It can even
run as a daemon so it's all done automagically without any need to look
at it ever again. That's what I read anyway:

It is a simple task to accomplish... and I should add this to my backups routine.

My issue is, why is this something I get from hearsay from PTC support. I had a Hotline guy tell me it should be done daily... And his tone was that I was an idiot for not having this in my everyday routine..... but I have never seen that documented. It wasn't taught in the Systems Admin class.
Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags