diff --git a/cron/centKnowledgeSynchronizer.php b/cron/centKnowledgeSynchronizer.php
index c0168e7ad1eca87b3b35f89548c4c77aab5e38b1..e911e7901c790fbcf070ba58c6436c444200bad5 100644
--- a/cron/centKnowledgeSynchronizer.php
+++ b/cron/centKnowledgeSynchronizer.php
@@ -35,5 +35,9 @@
 
 require_once realpath(dirname(__FILE__) . "/../www/class/centreon-knowledge/wikiApi.class.php");
 
-$wikiApi = new WikiApi();
-$wikiApi->synchronize();
+try {
+    $wikiApi = new WikiApi();
+    $wikiApi->synchronize();
+} catch (Exception $e) {
+    echo $e->getMessage() . "\n";
+}
diff --git a/www/class/centreon-knowledge/wiki.class.php b/www/class/centreon-knowledge/wiki.class.php
index e5f873521af1e04269c1004874a497c0dc8cf6df..25ba580ae80afa6fb12135b1666b259249512133 100644
--- a/www/class/centreon-knowledge/wiki.class.php
+++ b/www/class/centreon-knowledge/wiki.class.php
@@ -64,8 +64,10 @@ class Wiki
         }
         $res->free();
 
-        if (!count($options)) {
-            throw new \Exception('Wiki is not configured.');
+        if (!isset($options['kb_wiki_url']) || $options['kb_wiki_url'] == '') {
+            throw new \Exception(
+                'Wiki is not configured. ' .
+                'You can disable cron in /etc/crond.d/centreon for wiki synchronization.');
         }
 
         if (!preg_match('#^http://|https://#',  $options['kb_wiki_url'])) {