Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a way with Umbraco tools to clear the logs and the App_data folder by the sceduller. Or I should do it from another application/script?
Hi Ilyas,
I create a batch script on the server.. something like cleanupoldlogs.bat - this will kill anything older than 30 days
forfiles /p "C:\data\websites\sitenamehere\site\App_Data\Logs" /s /m *.* /D -30 /C "cmd /c del @path"
Then add that to a windows scheduled task.
Nice and simple.
Not sure you want to be just deleting the app_data folder without knowing why and what you're doing though.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Automatic cleaning
Is there a way with Umbraco tools to clear the logs and the App_data folder by the sceduller. Or I should do it from another application/script?
Hi Ilyas,
I create a batch script on the server.. something like cleanupoldlogs.bat - this will kill anything older than 30 days
Then add that to a windows scheduled task.
Nice and simple.
Not sure you want to be just deleting the app_data folder without knowing why and what you're doing though.
is working on a reply...