I've built an application that can be used to control the services, modelstore imports, synchronization, and deployment of reports all across multiple AX AOS machines. The problem I'm having is with using the AX32.exe and the -startupcmd=synchronize parameter. The client is opening and performing the database synchronization just fine but I need it to exit/close upon completion. Does anyone have a suggestion on a way to do that? I see another startupcmd parameter called 'exit' but I can't daisy chain the parameters together. AX seems to expect just one type of startupcmd.
Thanks,