Batch work directories and clean-up
Non-accumulative batch uses a temporary work directory, which
it uses to cache template information and resources as well as record files necessary
for composition. The default location of this work directory is: <install-dir>/<bundle-root>EngageOne/server/batch/work.
On a batch run startup, the program creates a folder with a
unique name under the work/cache directory.
NA batch deletes this directory upon completion of a batch
run.
The work directory can be configured through the configuration framework. You can change the value of the batch.work.dir setting from the com.pb.engageone.server.batch.na namespace.
Please see the following example:
<namespace name="com.pb.engageone.server.batch.na">
. . . .
<setting>
<key>batch.work.dir</key>
<value><install dir>/EngageOne/server/batch/work</value>
</setting>
<setting>
<key>error.folder.path</key>
<value>${com.pb.engageone.server.batch.na[batch.work.dir]}/errors</value>
</setting>
<setting>
<key>batch.cache.path</key>
<value>${com.pb.engageone.server.batch.na[batch.work.dir]}/cache</value>
</setting>
. . . .
</namespace>