cancel
Showing results for 
Search instead for 
Did you mean: 

Are there dbspawn and dbstop equivalents for mlsrv12 and dbmlsync?

Breck_Carter
Participant
0 Kudos
2,085

When writing end-to-end MobiLink demonstration scripts using Windows command files, the following requirements seem to be in conflict:

  • keeping all the GUI windows on-screen until the audience has seen what's happening, then

  • running a simple command file to stop everything and delete all the files created by the demonstration so it can be started over again.

Everything's cool with dbsrv12, but not so much with mlsrv12 and dbmlsync.

I am reluctant to explore "creating Windows services for everything"... trying to keep things simple, it's a demo after all 🙂


Tasklist and tskill are Windows commands, apparently... and tskill mlsrv12 seems to work. Who knew? ( apparently not me 🙂


OK, this is getting frightening: http://technet.microsoft.com/en-us/library/cc725602%28WS.10%29.aspx# ...I have work to do, I can't be reading about fifty zillion DOS commands I didn't know existed... 🙂

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

For mlsrv12, the dbstop equivalent is mlstop. There isn't a dbspawn equivalent that starts the server and waits till the server is ready to accept connections. However you can use mlreplay -ping after starting an ML server to wait till the ML server is ready.

There isn't a stop command line program for dbmlsync, but you can start it with -k to have it close after synchronizing. For demo purposes it should be okay to use taskkill. Note that if you use the dbmlsync API the StartServer method is like dbspawn and the ShutdownServer method is like dbstop.

Breck_Carter
Participant
0 Kudos

mlstop! D'oh! 🙂