Scheduling usage data collection

By default, the system does not automatically update the service usage information displayed in the control panel. However, after you enable the CronJob service, you can schedule usage data collection through the CronJob command-line interface.

About usage data collection

During scheduled updates, the platform obtains the latest service usage data from the platform SQL server and displays it in the control panel. For some services, such as DNS, this is real-time usage data. For other services, this data might not be real time. Many services have their own scheduled tasks that independently collect usage data and update the platform SQL server periodically. For these services, data freshness depends on when the service-specific usage-collection tasks are scheduled to run.

To obtain the freshest data, check the usage collection schedules of your installed services before you schedule usage data updates.

Scheduling usage data collection

To schedule usage data collection:

  1. Log in, as domain administrator, to a PE server that has the CronJob service enabled. If you have multiple PE servers, you can log in to any one that has the CronJob service enabled.

  2. Open a command window and change (cd) to the CronJob service directory. If defaults were used during installation, the directory is: C:\Program Files\Ensim\Ensim Unify

  3. Type the following command:

    CronJobService.exe -list
     

  4. Modify the UsageMonitor task as needed using the CronJob service commands.

  5. Make sure the CronJob service is enabled and started. To start the service, type the following command:

  6. sc start Ensim.CronJobService

The UsageMonitor task runs according to the specified schedule, and the information displayed in control panel usage reports is automatically updated accordingly.