Delete Database Archive scheduled job is not getting enabled in Console server

Document ID : KB000012652
Last Modified Date : 14/02/2018
Show Technical Document Details

Database Archive logs are filling fast and Delete Database Archive schedule job is disabled


Delete Database archive schedule job is grayed out in eHealth one click console, even after enabling from command line.

eHealth on windows 2008

1. In order to delete existing Archive logs, first stop eHealth services.

2. Now run the below command, in order to delete archive logs. 

nhDbMaint -deleteArchiveLogs

3. Now start the eHealth services.

4. Enable the Delete Database Archive schedule job by executing below command.

nhSchedule -enable 1000016 

Additional Information:

Make sure whether Full backup or incremental backup is enabled. If incremental Backup is enabled, we should not enable Delete Database Archive log schedule job.