Unable to wait 30 seconds and then call the TCL Script as Action?

Hello and good afternoon all!

I was browsing through different threads and did some research and I am unable to get my applet to wait 30 seconds and then call a script TCL to a succession of 'action '.  Here is the Basic script I am trying to run:

Event Manager applet track-loopback1
Event track 10 down state
command action 1.0 cli 'enable '.
Action 1.1, «config t» cli command
Action 1.3 cli command "event manager applet-counting backwards.
action 1.4 cli command 'event timer countdown 30 '.
action 1.5 cli command "action 1.0 wait 30.
Action 1.6 cli command "end".
Action 1.7 cli command "tclsh Loopback1 - Notification.tcl.

The goal of this applet is simply wait interface Loopback1 go down, and then launch the applet "-Countdown ' which waits 60 seconds before calling end my TCL script.  The pattern of ' countdown time 30 "and the" action 1.0 wait 30 "is my (lack of?".  :-)) understand that after counting 30 I need to a trial of the action - but I'm not 100% clear on this?  Ironically, he does, in fact, call the TCL script, it does not wait 30 seconds.  My current workaround is to simply throw a statement "after 30000' in the TCL script, but I'm really curious to know why it does not work as expected (well, as I expected to work anyway!).  Any help would be GREATLY appreciated.  Thank you very much!

See you soon,.

Travis

See my response to https://supportforums.cisco.com/discussion/13009231/eem-applet-wont-fire... .  What you do not work, so you should not call tclsh to EEM anyway.

Tags: Cisco Network

Similar Questions

  • Fade, wait a second and then fade out.

    I'm developing an application ActionSript 3 for Playbook.

    I use Tweener class fade and fade out a Sprite.

    I want to do an effect as I say in the subject, but I don't know how to wait a second after having melted and melted on.

    Any advice?

    There are a few things you could do:

    (I'm not suggesting this one first as the two interpolations can overwrite each other)

    Tweener.addTween( myMovieClip, { alpha:1, time:0.5 } );
    Tweener.addTween( myMovieClip, { alpha:0, time:0.5, delay:1.5 } );
    

    Or you could make the initial appearance, and then use a parameter onComplete to initiate another method to falter to the object.

    Tweener.addTween( myMovieClip, { alpha:1, time:0.5, onComplete:on_complete_method } );
    
    function on_complete_method():void
    {
         Tweener.addTween( myMovieClip, { alpha:0, time:0.5, delay:1 } );
    }
    

    There is more information here:

    http://hosted.Zeh.com.br/Tweener/docs/en-us/

    I hope this helped a little

  • How to play videos flash for 40 seconds and then display the Web page automatically?

    That was my question:

    I made a Web page, I want to show a video flash for 40 seconds when the page is opened. Then the Flash video should disappear and opens the web page. How should I do this?

    This was the response:

    Hello

    This would require the use of actionscript inside flash video, which would then redirect to the main website after the deadline runs out.

    (for how to do this you would be better advised in the flash forum -http://forums.adobe.com/community/flash/flash_general).

    Please help me on how to add actionscript code

    If you the only goal is to pass on this page to the index page after 40 seconds, then you can do it in the code of a web page, rather than edit the Flash file.  Just add the following code in the head section of the web page of the video...

  • Hold the head of reading for a few seconds, and then go

    Hello world

    How to hold the head of a frame for a few seconds and then have the read head continue to play? I don't know how to do this in AS3.

    Thank you

    Rafa.

    These things indicate (to me), you have done a good thing and studied the help files for how to use the function, although you may have considered in the section of AS2.  In addition, get rid of them.  They are specific to some example were the help files.  The bit in quotes is an argument that would be sent to the function, which receives it as arg1.  I can only imagine that one of the mistakes was to not to declare the type of argument, that requires AS3, but like I said, just get rid of them altogether.  For AS3, things are slightly different, the return value is a uint

    Stop();
    var setHold:uint = setTimeout (holdPlayhead, 2000);

    function holdPlayhead () {}

    gotoAndPlay (26);
    }

  • MP3 plays for a few seconds and then restarts

    I created an MP3 player that works perfectly fine on my local machine but online plays the song for a few seconds and then restarts the song. He then played completely. The next songs also have the same behavior.

    Someone at - he meets away the problem before? Do you know a solution?

    Thank you in advanced for your help.

    I found a way to preload the mp3 before you play. Thank you for the help kglad.

  • Using the trial version of creative cloud. You try to start with Lightroom. I imported the photos that come in Lightroom and are visible for a second and then go black and I am unable to do something more. Is this due to the mode of assessment? Not much o

    It seems that even this part has poor instruction for beginners. I imported the images that are visible for a moment and then go black.

    Hi Tim,

    This problem occurs when the auto tone has been applied to your images.

    For existing photos, select all your images in the grid view, and then click the Reset All button in the quick develop Panel. Then, click the auto tone button to correctly apply this feature.

    To avoid this problem in the future, choose Lightroom > preferences > Presets (Mac OS) or edit > Preferences > Presets (Windows). Select again to apply auto tone adjustments.

    Related link: the pictures are black in Lightroom CC 2015.2/6.2

    Let us know if that helps.

    Kind regards

    ~ Mohit

  • Black screen for 10 seconds and then lock screen after ios 10

    I am facing a problem where my iphone 6 randomly shows a black screen with a loading circle in the Center for about 10 seconds and then wakes up to the password lock screen.

    Called in support and they mentioned to install ios 10 via itunes instead and a new device settings and do not restore the backup to diagnose the problem.

    Is anyone else having the same problem? Any suggestions that might be faster than the one mentioned by the Apple Support

    Colleague and I have this specific question. Getting really boring. The app I was on lost its place, its similar accidents are happening

  • Firefox crashes constantly on my Macbook pro. It opens the page for 7 seconds, and then it crashes. Reinstall, del profile, clear the cache did not help

    I can't open more Firefox on my MacBook Pro. When I try to open Firefox, the start page appears for 7 seconds and then Firefox closes and opens a report. During these 7 seconds, I can't use any button in Firefox. I deleted all of firefox and Mozilla in my library and in my cache. After that I did a reinstall of Firefox. But the problem is existing.

    You can check policies corrupt and duplicate and other police issues:

  • My Ipad air2 does not start.  Tried hold it together switch with on/off switch.  Apple logo appears for about 15 seconds and then turns off again.

    My Ipad air2 does not start.  Tried hold it together switch with on/off switch.  Apple logo appears for about 15 seconds and then turns off again.

    Is there another way to start the IPAD?

    Try the steps here:

    https://support.Apple.com/en-us/HT201412

  • I use firefox 3.6.4 Dutch. Some sites phone numbers are only visible for 1 second, and then they disappear. What refresing are new visible for 1 second.

    I use firefox 3.6.4 Dutch. Some sites phone numbers are only visible for 1 second, and then they disappear. What refresing are new visible for 1 second.

    This has happened

    Each time Firefox opened

    Hello

    the issue of the disappearance of telephone numbers can be corrected by turning off the Skype add-on:

    1. Go to tools > Modules.
    2. Find the Skype add-on in the list.
    3. Click on disable or Uninstall button.
    4. Restart Firefox.

    Tobbi-

  • Satellite M70 runs for several seconds and then hangs

    Hello

    I have a Satellite M70. My problem started several weeks ago with the laptop freezing. Then it blue screened a couple of times. Now when I start it, it runs for a few seconds and then hangs.

    I can't do anything because the screen is blank but the LED still show as if it was on. If I leave the phone for a day or two, and then I can start it again and the same thing happens, but if I try to start immeadiately, the screen remains blank.

    Any help would be appreciated, I had company look and they said that the LCD screen was tired, but it is not if it lights.
    Also, I tried to plug in an external monitor and it's the same thing. PLS help

    Hello

    Here in the forum we can only speculate what may be the problem. I don't think anyone can say for sure why this happens. I got BSOD a few times but always after installing some shareware applications. In my case it was clearly software related issue.

    It is not easy to say why this is happening to you. You can enter the BIOS settings? Try to start your computer laptop in safe mode, just to see if it works.

  • Phone numbers contained in the e-mails and the web links will appear for several seconds and then disappear. I use Yahoo mail, however, if I use IE 8, the problem does not occur. Help!

    Phone numbers contained in the e-mails and the web links will appear for a few seconds and then disappear. I use Yahoo mail, however, if I use IE 8, with Yahoo mail, the problem does not occur. Help!

    This has happened

    Each time Firefox opened

    Is whenever I use Firefox

    Tools > Addons > > Extensions

    You have the Skype for Firefox extension?
    If so, disable it. Known to cause this problem for many users.

  • Satellite 1110 series only works for 12 seconds and then powers down

    We have several series of 1110 (Z14 and Z20) laptops and one of them fails to start correctly. Everything works perfectly for 12 seconds, and then it turns off. Each time at exactly 12 seconds.

    Does anyone have any suggestions where I should start looking?

    I've already replaced everything stands (up to the CPU), but without result. There seems to be something inside the motherboard BTK20.

    Thank you

    > There seems to be something inside the motherboard BTK20.

    Seems so if you replaced the common areas like RAM, HARD drive and the processor then the last part would be the motherboard

    But what do you think an overheating problem?
    I mean that the laptop could close because of the higher temperature
    I recommend to check this maybe the thermal grease should be renewed, clean the fans and check again

  • Wait queue element and then rinse queue

    I then process in a separate loop and work with a producer consumer design to read data from a data acquisition (number crunch, update locations, write to produce results).  The rate of data acquisition can be very variable, so there are some cases where the producer fills the queue more quickly that the consumer can handle it (one at a time).  So I changed the loop of consumer to use RAS queue instead of dequeue and batch process all recent items.  This works well and allows a much faster operation.  The downside, I've noticed, is that, when the producer loop runs much more slowly than the loop of consumer, hunting generates the queue runs without data to pass.

    What I am wondering if there is nothing to wait for the elements of the queue (as done dequeue) and then clear the queue, without using too broad.  I guess I could use the status of the queue in a loop and then emptying the queue, but I'm guessing that this would lead to a significant overhead when I turn at higher speeds.

    The only alternative I can think of is to put the write file a third loop with another queue because it's probably slowing down the main consumer loop and then put the loop main consumer towards the transformation of one item at a time.  But it seems that there should be an easier way to do it.

    Any thoughts, suggestions or generally better ways to handle this?

    Thank you

    Tim

    Use Preview queue and do not wire out of the element. It has a timeout, as element Dequeue. Put empty the queue directly after this one. Or, use Dequeue followed by emptying the queue and add the output from the Dequeue item on the output table to empty the queue.

  • Call the function in LabView from a DLL, and then access the global variable of DLL

    I've created a DLL in LabWindows with a function and structure.  I want to call the function from LabView and then access the overall structure.  I am able to call the function in the DLL with a "call library function node" and has access to the return value, but I can't understand how to access the overall structure.  The structure is declared in the header DLL with __declspec (dllimport) struct parameters file.

    Is it possible to access this structure without using the library of network variables?

    My guess is that you need two bytes of padding after "in_out" and another to two bytes of padding after "anin."  The reason being that ints are 4 bytes, and most of them C compilers will align on 4-byte boundaries.  The struct will naturally start to such a limit (in fact, in Windows, it will probably start to an 8 byte boundary).  If you then count bytes in your structure, you are 70 byte after "in_out."  70 is not divisible by 4, so you need 2 bytes more to reach the next 4 byte boundary.  You can also you could reorganize your struct so that "anin" follows "in_out" and this is probably the best option if it won't cause you other problems.

    Unlike most C compilers, LabVIEW compressed structures as closely as possible, without filling.  I don't know enough about the history of LabVIEW and internal parts to explain the reasons and to do this performance penalty, but, as choice of LabVIEW "endianness", it is probably a remnant of the first versions of LabVIEW that were running on the Mac.

    If for some reason you want to force your C struct to match package LabVIEW, you can use the #pragma pack (x) directive, but I wouldn't recommend that here because you can control the C and LabVIEW.

    EDIT: in the cases where it was not clear, add padding to your cluster of LabVIEW, insert appropriate size or items at the place desired in the cluster.

Maybe you are looking for

  • Satellite P55W-B5318 - Wireless Signal to 4 bars only

    Hi - my wifi is often at 4 bars, but my other laptops have always been 5 bars. Is there something different onn the Toshiba?

  • Does the Acer Aspire 4530 TV output support?

    My father has an old Acer Aspire 4530. I am trying to determine if it has tv out capability so we can connect to its new TV with a cable composite VGA adapter. It has a VGA port, and it's really... I think that its come to Aspire with Vista (not sure

  • Intermittent network connection fall

    Original title: Internet access Once in a while (maybe once in 10 days) when I connect my desktop PC, running Vista Premium, I can't access the Internet through any browser: IE, Safari, Chrome. If I open a cmd prompt I can ping sites ok. That never h

  • Impossible to reset the PPP of Vista settings

    Original title: ppp parameters Vista won't let me not reset my dpi settings, I, change the dpi, select 96 or whatever and restart and it will always return to superhuge icons and other, please help

  • Cannot install the Nvidia NVS3100 under XP T510

    Hi for some reason, we had to install windows XP instead of windows 7 on a T510 with NVS3100 video card; I'm unable to install the Nvidia driver 6md136ww.exe!  The program gives me that an error could not find the driver for your hardware. I really n