IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: How to reschedule task pruning in Database

App Control: How to reschedule task pruning in Database

Environment

  • App Control Server: All versions
  • Microsoft SQL server

Objective

How to re-schedule task pruning on  database

Resolution

Run this query against the  database to reschedule the daily prune task:
update dbo.scheduled_tasks set schedule = '0 hh * * *' where task = 'DailyPruneTask


Example: 
This query will push back the Daily Prune Task by 2 hours
update dbo.scheduled_tasks set schedule = '0 22 * * *' where task = 'DailyPruneTask

 

Additional Notes

  • The daily task runs at midnight by default
  • The schedule follows standard cron format

Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎03-28-2021
Views:
460