From 21567d7175ceb44f5858163640a009bb7e5c0fbc Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 1 Oct 2009 14:18:34 +0000
Subject: [PATCH] Fixed: FS#917 - Problem with cron not url or script sh

---
 server/plugins-available/cron_plugin.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/plugins-available/cron_plugin.inc.php b/server/plugins-available/cron_plugin.inc.php
index 233f2d24d6..c2b4b3a80f 100644
--- a/server/plugins-available/cron_plugin.inc.php
+++ b/server/plugins-available/cron_plugin.inc.php
@@ -199,7 +199,7 @@ class cron_plugin {
                     }
                     
                     $command .= "\t";
-                    if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'];
+                    if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
                     $command .= $job['command'];
                 }
                 
-- 
GitLab