Using Task Scheduler to run daily processes
To run the nightly process
- Open the Task Scheduler by using the Computer Management console (all Windows versions).
- Click Create Basic Task.
- In the Create Basic Task Wizard dialog box, enter the task name and description and click Next.
- To select a schedule for the nightly process runs, click Daily.
The task runs every day after the Visualizer database has been populated. - Click Next.
- Select Start a program as the action of the task.
- Click Browse and navigate to the BMC AMI Capacity Reporting installation folder, for example, C:\Program Files (x86)\BMC Software\CMM\bin\BMCCMMNightProcess.exe file.
Keep the Add arguments and Start in fields blank. - Click Next.
Verify the task summary. Click Back if you want to change anything. Otherwise, click Finish.
The task is now added to the Windows schedule and runs at the specified time. Check the Application Log Viewer Nightly Process Logs to ensure that there are no errors.
To run the dashboard export tool
Running the Dashboard Export tool is similar to the nightly process. Make sure that the Dashboard Export tool is scheduled to run after the nightly process.
- Open the Task Scheduler by using the Computer Management console (all Windows versions).
- Click Create Basic Task.
- In the Create Basic Task Wizard dialog box, enter the task name and description and click Next.
- To select a schedule for the nightly process runs, click Daily.
The task runs every day after the Visualizer database has been populated. - Click Next.
- Select Start a program as the action of the task.
- Click Browse and navigate to the BMC AMI Capacity Reporting installation folder, for example, C:\Program Files (x86)\BMC Software\CMM\bin\DashboardExport.exe file.
Keep the Add arguments and Start in fields blank. - Click Next.
- Verify the task summary. Click Back if you want to change anything. Otherwise, click Finish.
The task is now added to the Windows schedule and runs at the specified time. Check the Application Log Viewer Nightly Process Logs to ensure that there are no errors.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*