Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
batchmode [2020/03/19 15:30]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-=====Run Models in Batch Mode =====  
  
-You can start //TestOptimal// server and run a series of MBT models in a batch or cron job.  
- 
-To do so, just change the startup java class name from //com.webmbt.TestOptimalServer// to //com.webmbt.client.TestOptimalClient// and add the following arguments to the java command: 
- 
-  * //-batch// batchXmlFileName 
-  * //-delay// num-of-seconds 
-  * //-keepAlive// 
- 
-//batchXmlFileName// is the [[batchConfig|batch execution configuration]] which contains the execution groups and models to be executed. 
- 
-The //-delay// option instructs //TestOptimal// server to wait for the specified number of seconds before it exeutes the model. You may need to use this option if for some reason //TestOptimal// server needs more time to start. 
- 
-If //-keepAlive// is specified, //TestOptimal// serve will remain up after the last model is executed. 
- 
-You may also want to check out the [[Notification|email notification]] option.