From eba0a5574a8c35623307dd27135a67d76e4da12e Mon Sep 17 00:00:00 2001 From: xfra35 Date: Tue, 19 Jun 2018 10:29:49 +0200 Subject: [PATCH] Bugfix: wrong shell operator --- lib/cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cron.php b/lib/cron.php index f552442..c1a4b85 100644 --- a/lib/cron.php +++ b/lib/cron.php @@ -121,7 +121,7 @@ function execute($job,$async=TRUE) { if ($this->windows) { pclose(popen(sprintf('start /b "cron" "%s" "%s\\%s" "/cron/%s"',$this->binary,$dir,$file,$job),'r')); } else { - exec(sprintf('cd "%s" & %s %s /cron/%s >/dev/null 2>/dev/null &',$dir,$this->binary,$file,$job)); + exec(sprintf('cd "%s" && %s %s /cron/%s >/dev/null 2>/dev/null &',$dir,$this->binary,$file,$job)); } return FALSE; }