Batch Processing

WMTool can be really useful when you want to do a batch of processing. For example, you may have a batch of jobs already on WorkMobile that you want to allocate to a specific user. To do this, create a text file with the Job ID's for each job that you want to allocate:


Using the Windows command line, you can then execute WMTool in batch, passing in the values from the text file:

for /f %j in ( do java -jar wmtool.jar allocatejob --username --password mypassword --mobileuserid 114 --jobid %j