Results 1 to 3 of 3

Thread: coding question

  1. #1

    Default coding question

    I am new to ruby but learning so bear with me.

    Let's use this for an example...


    How can I prevent B from starting before A ends. Is there some type of ruby code that simulates a waitfor type command?

    I don't want to have to put "pause 60" between each one, although it would work but not be efficient.

  2. #2


    You don't really need the do_client.

    start_script "A"
    wait_while { running?("A") }
    start_script "B"
    wait_while { running?("B") }
    start_script "C"
    wait_while { running?("C") }
    You can find a lot of information in the wiki
    Last edited by Jymamon; 07-02-2022 at 09:59 PM. Reason: Add wiki link

  3. #3


    Quote Originally Posted by Jymamon View Post
    You don't really need the do_client
    thanks, this helped me figure it out

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts