projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add set and unset/agwmonitoring
[spider.git]
/
cmd
/
set
/
agwmonitor.pl
diff --git a/cmd/set/agwmonitor.pl
b/cmd/set/agwmonitor.pl
new file mode 100644
(file)
index 0000000..
6de8199
--- /dev/null
+++ b/
cmd/set/agwmonitor.pl
@@ -0,0
+1,17
@@
+#
+# set AGW engine monitoring
+#
+# $Id$
+#
+
+my $self = shift;
+return (1, $self->msg('e5')) if $self->priv < 9;
+if ($AGWMsg::monitor == 0) {
+ AGWMsg::_sendf('m');
+ $AGWMsg::monitor = 1;
+ return (1, $self->msg('mone'));
+}
+return (1);
+
+
+