Once the xTuple Connect Batch Manager admin user has been set up to be automatically logged on, the next step is to create a batch (.BAT) script file. This .BAT file, when executed, will run the xTuple Connect Batch Manager and connect it to your xTuple ERP database. Below is a sample script which incorporates what we learned in the section called “Runtime Options”:
The .BAT file example shown in the screenshot will perform the following tasks:
Start the BatchManager.exe
client located
in C:\xtbatch
Connect the xTuple Connect Batch Manager to the server
xtupleserver
(you could use the IP address),
database postbooks_live
, on port
5432
Log on the xTuple Connect Batch Manager as user
batch
using password
!postbooks!
Set an idle interval of 30
seconds, rest
interval of 30
seconds, and a refresh interval
of 600
seconds