Batch operation is terminated

Customers reflect a batch operation is terminated, can start with the following two tests:

1. Review the batch service is set: to see whether the figure specified batch service management system - settings - Batch

2. Check whether the environment is in maintenance mode.

Maintenance mode, the batch can not run, only when non-maintenance mode, the batch before running. The default is non-maintenance mode, check the configuration structure but change the subject, it is necessary to change the environment in maintenance mode, which may sometimes forget to turn off maintenance mode, resulting in a batch unusable.

Maintenance mode switch, need to update the database table field VALUE SQLSYSTEMVARIABLES when Value = 1, open the maintenance mode, Value = 0 Close maintenance mode;

Turn on maintenance mode:

update dbo.SQLSYSTEMVARIABLES   set dbo.SQLSYSTEMVARIABLES.VALUE = 1

where dbo.SQLSYSTEMVARIABLES.PARM ='CONFIGURATIONMODE'.

Close maintenance mode:

update dbo.SQLSYSTEMVARIABLES   set dbo.SQLSYSTEMVARIABLES.VALUE = 0

where dbo.SQLSYSTEMVARIABLES.PARM ='CONFIGURATIONMODE'.

 

The above is an abnormal batch runs shallow solution, I hope God can add big, not very grateful!

 

Guess you like

Origin www.cnblogs.com/sunny-technology/p/11401729.html