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 jobs.in with the Job ID's for each job that you want to allocate:

1115
1127
1189
1244

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

for /f %j in (jobs.in) do java -jar wmtool.jar allocatejob --username
bob@yourcompany.com --password mypassword --mobileuserid 114 --jobid %j