projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70e519f
)
log email on notify close
author
Alan
<alan@roojs.com>
Fri, 18 Aug 2023 04:13:41 +0000
(12:13 +0800)
committer
Alan
<alan@roojs.com>
Fri, 18 Aug 2023 04:13:41 +0000
(12:13 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
097e975
..
43bf41b
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-565,7
+565,7
@@
class Pman_Core_Notify extends Pman
//fclose($p['pipes'][1]);
fclose($p['pipes'][0]);
fclose($p['pipes'][2]);
//fclose($p['pipes'][1]);
fclose($p['pipes'][0]);
fclose($p['pipes'][2]);
- $this->logecho("TERMINATING: ({$p['pid']}) " . $p['cmd'] . " : " . file_get_contents($p['out']));
+ $this->logecho("TERMINATING: ({$p['pid']})
{$p['email']}
" . $p['cmd'] . " : " . file_get_contents($p['out']));
@unlink($p['out']);
// schedule again
@unlink($p['out']);
// schedule again
@@
-597,7
+597,7
@@
class Pman_Core_Notify extends Pman
// $pool[] = $p;
// continue;
//}
// $pool[] = $p;
// continue;
//}
- $this->logecho("ENDED: ({$p['pid']}) " . $p['cmd'] . " : " . file_get_contents($p['out']) );
+ $this->logecho("ENDED: ({$p['pid']})
{$p['email']}
" . $p['cmd'] . " : " . file_get_contents($p['out']) );
@unlink($p['out']);
// at this point we could pop onto the queue the
$this->popQueueDomain($p['email']);
@unlink($p['out']);
// at this point we could pop onto the queue the
$this->popQueueDomain($p['email']);