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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.