Wird geladen ......

Wird geladen ......

Setup 6.web Batch Task Server

Aktualisiert am 2. Juli 2019

From 6.3

Note - if you are running 6.web with remote Netserver web services, this must be set up on the server running Netserver web services.

First introduced in 6.web, version 6.3, background computing plays an important role that accomplishes long-running tasks in the background, while allowing the user to continue working without being affected.

On DevNet you'll find an article which will also drill down into how built-in tasks get started and demonstrate how this extensibility point can be leveraged for other applications.

The Batch task service is automatically set up during install of 6.web, you'll find it running under services on the server where IIS is running. The name is the same as the 6.web site name + Batch Task Server. If you have more than one 6.web installation, you will find one batch server service for each install.

When the server is started, it will instantiate and connect to NetServer using the configuration settings found in the SoBatchService.exe.Config file (see path to executable)

Note - at least with the 6.3 beta the SoBatchService.exe.Config must be edited if you edit the app config via Start - Programs - SuperOffice - Six.web - Product configuration (Web instance name) and you edit the database settings. After edit, stop and start the service.

The main difference between the web.config file and the SoBatchService.exe.Config file is in the Session.mode. For the Batch task server the session.mode = Process and not HttpContext.

Batch task server in 6.web

The batch task service is used for timeconsuming operations like:

  • Printing reports
  • Updating inbox
  • Performing mail merge

When the batch task server is in use the user will see a small icon in 6.web

Whenever a task is running the area at the top right next to the freetext search area will show an animated icon of two wheels in motion to indicate that one or more batch tasks are running. Next to the icon, a text will be displayed telling the user which task is currently running if the user only has one task. If the user has more than one task, this text will display the number of tasks the user has, and the tooltip will display more details about the status and name of the tasks.

Problem with tasks timing out?

Task execution can timeout. This is handled in the batch processor in NetServer. If the que of waiting tasks becomes to big, the administrator of the system should either increase the number of simultaneous tasks that can run in this service, install multiple instances of the service on one machine,  or set up more than one server running batch processing services.