Run batchjob when restore database - Song Nghia - Microsoft Dynamics Partner

Song Nghia - Microsoft Dynamics Partner

Song Nghia - Microsoft Dynamics Partner

Breaking

Friday, June 21, 2019

Run batchjob when restore database

Run batchjob when restore database


Song Nghia - Technical Consultant


After that, start server again and check batch jobs
/*================Clean AX client and server from destination database=================*/

Truncate table SYSCLIENTSESSIONS

Truncate table SYSSERVERSESSIONS

Truncate table BATCH

Truncate table BATCHCONSTRAINTS

Truncate table BATCHCONSTRAINTSHISTORY

Truncate table BATCHHISTORY

Truncate table BATCHJOB

Truncate table BATCHJOBALERTS

Truncate table BATCHJOBHISTORY

Truncate table SYSSERVERCONFIG

Truncate table SRSSERVERS

Truncate table BATCHSERVERGROUP

Truncate table BATCHSERVERCONFIG

Truncate table SYSEMAILPARAMETERS