On 25 Jan, 16:01, rober...@hushmail.com (Walter Roberson) wrote:
> In article <1169714394.323267.10...@k78g2000cwa.googlegroups. com>,
>
> <B...@hotmail.co.uk> wrote:
> >Regarding Cisco tcl examples, where were you looking,
> >under the bed? Did you try google?
> >[cisco tcl example] in google returns what looks to me
> >like some excellent examples as the first hit and
> >the second and third look rather promising.None of the first couple of pages of google hits even hints at
> how a timed event might be executed. It appears that a couple of
> Cisco (or ex-Cisco) employees have written books about using tcl,
> but the ones I find were written a decade ago and thus do not
> describe what is possible for IOS.
>
> Here's a source that -maybe- would help:http://tcllib.sourceforge.net/
The missing piece was that I assumed that the timing and the
operations carried out were seperate functions. I have not tried it but
I have heard that Enterpries IOS supports "cron" which
provides in some way the scheduling leaving tcl for the
operations.
Maybe I am mistaken.
I had a look at the first example that google
returned and it looked as if there was enough to get going with.
If there really is a cron lookalike and a seperate tcl then
I would certainly use them in that way and would not consider
rolling my own scheduller in tcl, even if the tools were provided.
But then I am not really a programmer.