In DDM I noticed that one error is reoccuring on the system. I want to run a compact -c -i on the target database but I want this to be automated.
My idea was to create an event handler that catches the event reported in DDM and sends a server console command to fix it but the problem is that I don’t know how to add the database as a parameter in the console command. %TargetDatabase% like in the DDM corrective events does not work.
Subject: I’ll probably need to use a ‘run a program’ notification method but then??
I managed to get basic console commands working with the ‘run a program’ notification method but I can’t pass any of the parameters. The documentation to use this is terrible The DDM event document lists the parameters I need and normally I should be able to pass these to the command line argument…