From: Alan Knowles Date: Wed, 6 Apr 2011 15:46:15 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=33107c953ae8a19e9c10b22f50efbd6eb896e1d4;p=Pman.Core NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index f0f700fb..dc519ee5 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -100,12 +100,12 @@ class Pman_Core_NotifySend extends Pman die("DONE"); } + $this->addEvent('NOTIFY', $w, 'NO HOST CAN BE CONTACTED'); + $w->act_when = date('Y-m-d H:i:s', strtotime('NOW + 5 MINUTES')); + $w->update($ww); + die("NO HOST AVAILABLE"); + - - - - - die("DONE\n"); } function mxs($fqdn) {