EDR: How To Create a Cron Job to Restart cbdaemon
search cancel

EDR: How To Create a Cron Job to Restart cbdaemon

book

Article ID: 289880

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

How to create a cron job to restart the cbdaemon service

Environment

  • EDR Sensor
  • Linux: All Supported Versions

Resolution

  1. Enter crontab as root, 'crontab -e', then enter insert mode with 'i'
  2. Insert following line: 
0 0 * * * service cbdaemon restart
  1. Save and quit with 'wq'
  2. Verify cron job is entered for root with 'crontab -l' command

Additional Information

  • These steps will restart cbdaemon nightly at midnight, the date/time can be modified as needed. Reference following URL for details/examples on the fields/values:
https://www.ibm.com/docs/en/db2oc?topic=task-unix-cron-format