>- see footer for list info -< Writing a script to archive my apache logs ...
<cfif logs.size gt 50000> <cfexecute name ="c:\apache2\bin\apache.exe" arguments="-k stop"></cfexecute> <cffile action = "rename" source = "C:\Apache2\logs\#logs.name#" destination = "c:\apache2\logs\#lsdateformat(now())#.log"> <cfexecute name ="c:\apache2\bin\apache.exe" arguments="-k start"></cfexecute> </cfif> Assuming I need to stop Apache to rename the log, looks like the cffile runs before apache has a chance to shut down ... any ideas how i can get around this please? Thanks jenny http://www.chicksnchaps.co.uk _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
