From: Alan Knowles Date: Sun, 16 Jun 2013 13:56:59 +0000 (+0800) Subject: Notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7da08f2272be84ca2811d8b8973b10579ccd745c Notify.php --- diff --git a/Notify.php b/Notify.php index 8ac0d450..7e4f65ee 100644 --- a/Notify.php +++ b/Notify.php @@ -265,7 +265,11 @@ class Pman_Core_Notify extends Pman function run($id, $email, $cmdOpts="") { - + static $renice = fase; + if (!$renice) { + require_once 'System.php'; + $renice = System::which('renice'); + } // phpinfo();exit; $tn = tempnam(ini_get('session.save_path'),'stdout') . '.stdout';