We're updating the issue view to help you get more done. 

DHCP disabled makes cron send email failures

Description

Given I have a Wazo Platform with DHCP disabled
Given I have configured cron to send me emails on failures
When I wait for the next weed to start
Then I receive an email:
```
Subject: Cron <root@callserver> sleep $[ ( $RANDOM * 3 ) ]s; /usr/sbin/dhcpd-update -
dr; systemctl restart isc-dhcp-server.service
From: Cron Daemon <root@example.com>
To: root@example.com

Job for isc-dhcp-server.service failed because the control process exited with error code.
See "systemctl status isc-dhcp-server.service" and "journalctl -xe" for details.
```

Environment

None

Assignee

Pascal Cadotte

Reporter

Sébastien Duthil

Approvers

None

Pair

None

Sprint

None

Fix versions

Priority

Medium
Configure