[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to cancel an event from the scheduler ?



Hi Mohamed,

> my question is waht "argv[2]" has to be in my example beleow ( for
> canceling "processing1") ?

You cancel an event with

    $ns_ cancel $eventID

where eventID is the value that was returned when you scheduled the event:

    set eventID [$ns_ at 5.0 "xyz"]

Take care,

     -Chris.