[tkined] How to bind a script to event

chchen (chchen@ccnu-1.ccnu.edu.cn)
Mon, 22 Mar 1999 20:18:38 -0500

Dear,
Now I can execute script in scotty line by line, but after I
bind this script to a event ,
it can't work correctly.
I work with this script in snmpd:
$s bind mlmExecutionStatus set {
global mlmExecutionInterval mlmExecutionRepetions
static mlmExecutionJob
set idx "%i"
switch "%v" {
active {
set interval [expr
$mlmExecutionInterval($idx)*10]
set times $mlmExecutionRepetions($idx)
set mlmExecutionJob($idx)\
[job create "SNMP_MLMExecute "%S" "$idx"
$interval $times]
}
:
:
How to resolve this problem?
Chen.

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.