AEM Dispatcher Invalidate Hanlder for IIS
I use IIS with Dispatcher Module where I have to configure custom invalidateHandler
Dispatcher.any:
/invalidateHandler "D:\\Cache\\invalidateHandler.bat"
When page is published I see the following message in dispatcher logs
Executing command: D:\Cache\invalidateHandler.bat "/content/test" "Activate" ""...
Command D:\Cache\invalidateHandler.bat exited with code: 1, status: 1
Invalidate script exited with status 1.
This is the body of the script
echo "Test"
Do you have any idea what is the problem here? Should I configure something more? I was unable to find documentation for dispatcher & IIS regarding this feature.