I am trying to schedule the purgetool to run through batch scheduling.
When I run the tool through the UI, everything works fine; however when I run the tool from the command line with the command
PurgeTool.exe purge.xml /Purge the versions of items are not getting deleted but the workflow history is cleared.
Can you please help me resolve this issue?
<?xml version="1.0"?> <XML> <Settings> <LoggingDirectory>C:\log</LoggingDirectory> <LogFilePrefix>Purge_</LogFilePrefix> <Items Purge="true"> <Keep>5</Keep> <Recursive>1</Recursive> </Items> <ProcessHistories Purge="true" Before="2013-07-03"> </ProcessHistories> <PublishTransactions Purge="true" Before="2013-07-03"> </PublishTransactions> </Settings> <Scan> <Entry URI="tcm:3-123-2" Purge="True"><![CDATA[TestFolder]]></Entry> </Scan> </XML>