core notify use correct unique key to to multiple runs
authorAlan <alan@roojs.com>
Fri, 27 May 2022 04:29:50 +0000 (12:29 +0800)
committerAlan <alan@roojs.com>
Fri, 27 May 2022 04:29:50 +0000 (12:29 +0800)
Notify.php

index 46f7e8f..514ae7f 100644 (file)
@@ -132,7 +132,7 @@ class Pman_Core_Notify extends Pman
         if (!$ff->cli) {
             die("access denied");
         }
-        HTML_FlexyFramework::ensureSingle($_SERVER["SCRIPT_NAME"] .'|'. __FILE__, $this);
+        HTML_FlexyFramework::ensureSingle($_SERVER["SCRIPT_NAME"] .'|'. __FILE__ .'|'. (empty($_SERVER['argv'][1]) ? '': $_SERVER['argv'][1]), $this);
         return true;
     }