Wouldn't that be dangerous, if someone was browsing the site at that time.

Extending the idea, write a batch file to delete all files older than a
date, ie hadn't changed in a month.

Regards
Dale Fraser


> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Steve Onnis
> Sent: Thursday, 16 February 2006 09:53 AM
> To: [email protected]
> Subject: [cfaussie] Re: growing cfclasses directory
> 
> 
> hows your DOS?
> 
> write a bat file to delete the files in the cfclasses directory and
> schedule
> it to run midnight every Saturday or something.  not a cf schedule, but a
> windows schedule
> 
> Steve
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> Behalf Of Brett Payne-Rhodes
> Sent: Thursday, February 16, 2006 2:01 AM
> To: [email protected]
> Subject: [cfaussie] growing cfclasses directory
> 
> 
> 
> Hi,
> 
> What do people do about cleaning up the cfclasses directory on a
> production
> machine, if at all. On mine it is C:\CFusionMX\wwwroot\WEB-INF\cfclasses
> 
> I ask only because the directory now holds over 112,000 files amounting to
> about 650Mb of disk space. So many file in fact that I can't browse the
> direcory in Windows explorer. I kindof understand what it is used for
> (compiled CF files) but do old files get overwritten with new ones when
> the
> source CF files change? If not then the chances are that the disk will
> eventually fill up. I also use a lot of temporary files that are
> <cfinclude>'d to execute small amounts of code coming out of the database
> so
> I'm concerned that these are being compiled but I can't see how that could
> be cached so there may be another growing file problem there.
> 
> Any hints, tips or suggestions?
> 
> Many thanks,
> 
> Brett
> B)
> 
> 
> 
> 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to