The '''[[Using Staging Area Generator | generation]]''' of an IMSMA staging area needs human interaction. However, there might be the requirement to re-generate the staging area regularly, in order to have an up-to-date reporting database. It is possible to automatize the staging area generation by following these steps:
<ol>
<li> Take a decision on how the '''[[Shutdown IMSMA Server | shutdown]]''' of the IMSMA server will be implemented.
<li>In the ''C:\IMSMAETLTool'' folder, create a .bat script named for example '''runStagingArea.bat''' with the following content:
<pre>