﻿@echo off
::
:: cleanup_script_config.cmd anpassen und 
:: cleanup_script.cmd täglich laufen lasse.
::




CALL cleanup_script_config.cmd

c:\bin\find "%TEMPDIR%" -maxdepth 1 -type f -daystart -ctime +7 -exec "c:\bin\rm -v \"{}\"" ;
c:\bin\find "%BILDDIR%" -maxdepth 1 -type f -daystart -ctime +7 -not -name README.md -exec "c:\bin\rm -v \"{}\"" ;

"%APACHEDIR%\bin\httpd.exe" -k stop
c:\bin\find "%APACHEDIR%\logs" -maxdepth 1 -type f -size +50000k -iname *.log -exec "c:\bin\rm -v \"{}\"" ;
"%APACHEDIR%\bin\httpd.exe" -k start

