# Cookbook:: irrigate-datadog
# Recipe:: agent_restart
#

cron 'datadog_agent_restart' do
  hour node['datadog']['agent_restart_hours']
  minute 0
  user 'root'
  command '/usr/bin/systemctl restart datadog-agent'
end
