About 65,500 results
Open links in new tab
  1. Wait 5 seconds before executing next line - Stack Overflow

    This function below doesn’t work like I want it to; being a JS novice I can’t figure out why. I need it to wait 5 seconds before checking whether the newState is -1. Currently, it doesn’t wait, i...

  2. 5 sec delay ON timer .. #2 - All About Circuits

    Nov 5, 2020 · Hi Here is an alternate circuit that operates using 12v zener regulator and 12v relay. Delay on is adjustable from ~3-5 seconds. If you want the relay to energize at power on, de …

  3. 5 sec delay ON timer - All About Circuits

    Nov 13, 2012 · I've searched and searched and haven't come up with an answer. I'm looking to make a delay ON timer. 5 seconds. It must behave like so: The circuit is unpowered. Power is …

  4. Run a java function after a specific number of seconds

    Dec 14, 2022 · I have a specific function that I want to be executed after 5 seconds. How can I do that in Java? I found javax.swing.timer, but I can't really understand how to use it. It looks like …

  5. java - Print "hello world" every X seconds - Stack Overflow

    You can also take a look at Timer and TimerTask classes which you can use to schedule your task to run every n seconds. You need a class that extends TimerTask and override the public …

  6. Code for a simple JavaScript countdown timer? - Stack Overflow

    Jul 28, 2009 · I want to use a simple countdown timer starting at 30 seconds from when the function is run and ending at 0. No milliseconds. How can it be coded?

  7. How to wait 5 seconds with jQuery? - Stack Overflow

    Dec 2, 2009 · I'm trying to create an effect where the page loads, and after 5 seconds, the success message on the screen fades out, or slides up. How can I achieve this?

  8. How to repeatedly execute a function every x seconds?

    For example , if your function takes 0.5 seconds to execute and you use time.sleep (1) , it means your function executes every 1.5 seconds , not 1. You should use other modules and/or …

  9. How to sleep for five seconds in a batch file/cmd [duplicate]

    37 SLEEP 5 was included in some of the Windows Resource Kits. TIMEOUT 5 was included in some of the Windows Resource Kits, but is now a standard command in Windows 7 and 8 (not …

  10. Redirect website after specified amount of time - Stack Overflow

    Jul 20, 2010 · This would be the way to go if you want the text to dynamically count down to 0 prior to the redirect. Use a 1 second timer, where the timer function updates the HTML text …