Smile CDR v2023.05.PRE
On this page:

32.0Batch Job Management


(New in 2021.05.R02)

Batch jobs are managed on the Runtime Batch Jobs page on the Web Administration Console. Batch jobs such as Delete Expunge, Bulk Import and Bulk Export can be viewed and managed on this page.

Smile CDR Uses Spring Batch to manage batch jobs. Explanation of Job Ids, Job Execution Ids, and Batch Statuses may be found in the Spring Batch documentation.

On the Smile CDR "Batch Jobs" page, you can Stop a running job or Restart a stopped job. If Smile CDR was stopped while batch jobs were running, the batch status can get into an inconsistent state. When this happens, a Force Stop button will appear beside the job and after clicking that, you should once again be able to Restart that job.

Jobs are not automatically restarted when the server is restarted. All in-progress jobs must be restarted manually after a server restart.

View Batch Job

When you click on the View button, you will see the details of the Job execution. This page is divided into three sections:

  • Job Parameters: Parameters the job was started with.
  • Job Execution Details: Details about when the job was started, how long it has been running, etc.
  • Step: Details about the progress of the running job.

Delete Expunge Step

For example, the Delete Expunge Job Step section displays a number of details about the running job that can help you gauge the progress of the job and how close it is to completion:

  • Currently processing Url #: The current URL the job is processing.
  • Total Resources Processed: The total number of resources delete exupunged so far.
  • Total Records Deleted: The total number of database records deleted so far.
  • Current High Threshold #n: for the nth URL, what is the earliest date the server has delete-expunged resources up to. If you refresh this page while a delete expunge job is running, you will see this date drop as the server works its way backwards through the resources it is removing.