Notify.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 16 Jun 2013 13:56:59 +0000 (21:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 16 Jun 2013 13:56:59 +0000 (21:56 +0800)
Notify.php

index 8ac0d45..7e4f65e 100644 (file)
@@ -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';