Manually Run App Control Scheduled Tasks / Stored Procedures
book
Article ID: 286789
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Issue/Introduction
How to manually run Scheduled Tasks for Carbon Black App Control such as:
- DailyAntibodyPruningTask
- DailyNamePruningTask
- DailyPruneTask
Environment
- App Control Server: All Supported Versions
- Microsoft SQL Server: All Supported Versions
Resolution
WARNING: - These steps should not be performed unless directed to by Broadcom Support.
- Some stored procedures can up to 6 hours to complete.
|
- Confirm the Service Account has the correct permissions
- Run SQL Server Management Studio as the Carbon Black Service Account
- Open Services.msc
- Stop the Carbon Black App Control Reporter and Carbon Black App Control Server services
- Execute the following script to find the Task ID of the stored procedure
select * from das.dbo.scheduled_tasks where task = 'StoredProcedureName'
Example:
select * from das.dbo.scheduled_tasks where task = 'DailyAntibodyPruningTask'
- Execute the following script, by first adjusting the task_id found in the previous step
EXEC das.dbo.DailyPruneTask @task_id = 'Step3_task_id'
Example:
EXEC das.dbo.DailyAntibodyPruningTask @task_id = '9'
Feedback
thumb_up
Yes
thumb_down
No