I have a need to add an additional line to the cleanupagent section in our web.config in sitecore. I would like to add the following line:
<remove folder="/App_Data/MediaCache" pattern="*.json" maxAge="01.00:00:00" recursive="true">
Here is the config xml.
<sitecore>
<agent type="Sitecore.Tasks.CleanupAgent">
<files hint="raw:AddCommand">
<remove folder="/App_Data/MediaCache" pattern="*.json" maxAge="01.00:00:00" recursive="true" patch:after="files[@hint='raw:AddCommand']"/>
</files>
</agent>
</sitecore>