Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:env="http://www.sitecore.net/xmlconfig/env/">
<sitecore>
<scheduling>
<agent type="Sitecore.Tasks.CleanupAgent" method="Run" interval="24:00:00" >
<files hint="raw:AddCommand">
<!-- There might be other agents for logs folder cleanup -->
<remove folder="$(dataFolder)/mediaIndexing" pattern="*.*" maxAge="30.00:00:00" role:require="ContentManagement"/>
</files>
</agent>
</scheduling>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.