From 967eb8e5a9be7a1c97e878927441dc83cf8f90d5 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 12 Sep 2015 22:13:16 +0200 Subject: [PATCH] another commit you should ignore --- _sakura/changelog.json | 5 +++++ _sakura/sakura.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_sakura/changelog.json b/_sakura/changelog.json index 8cd2630..75cd474 100644 --- a/_sakura/changelog.json +++ b/_sakura/changelog.json @@ -2715,6 +2715,11 @@ "type": "ADD", "change": "Added Windows no cron task method.", "user": "Flashwave" + }, + { + "type": "ADD", + "change": "Added Linux no cron task method.", + "user": "Flashwave" } ] diff --git a/_sakura/sakura.php b/_sakura/sakura.php index 2f63e03..41851b4 100644 --- a/_sakura/sakura.php +++ b/_sakura/sakura.php @@ -78,7 +78,7 @@ if(Configuration::getConfig('no_cron_service')) { } else { - shell_exec(PHP_BINDIR .'/php '. ROOT .'_sakura/cron.php > /dev/null 2>/dev/null &'); + pclose(popen(PHP_BINDIR .'/php '. ROOT .'_sakura/cron.php > /dev/null 2>/dev/null &', 'r')); }