Wait for host to be detected online

BatchPatch Forums Home Forums BatchPatch Support Forum Wait for host to be detected online

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9117
    Mbrodin
    Participant

    Hi

    There seems to be a timeout for this command built-in for 1 hour

    I tried to use this to catch laptops and workstations coming online to deploy software

    Can this timeout be changed somehow?

    Regards

    Mats

    #10927
    doug
    Moderator

    Mats – You have 2 options:

    1. Modify the timeout. You can modify this value in the Job Queue window. On the left side of the window there is an option “Wait for host offline / online detection. Global timeout (minutes).” Setting this value to 0 will disable the timeout altogether and cause BatchPatch to wait indefinitely for the host to be detected online.

    2. Use the Task Scheduler. On the Task Scheduler window there is an option to “Run task immediately upon detecting target computer online.” Using this option will instruct BatchPatch to wait indefinitely until the computer is detected online before it executes the scheduled task.

    #10944
    Mbrodin
    Participant

    Thanks Doug

    I must be blind – First time I see the “global Timeout” option 🙂

    If I use the Task Scheduler – run task immediately – is there not a risk that the command will try to execute before the computer has started completely?

    /Mats

    #10943
    doug
    Moderator

    Mats – You’re correct. The Task Scheduler functionality is looking for a successful ping of the computer, but that’s it. However, the Job Queue options actually check to see if WMI is responding (WMI doesn’t usually start responding until the computer is mostly booted, whereas a ping will generally respond before the computer is able to accept requests)

    Though now that you mention it, I think we will update the Task Scheduler method to check WMI instead of just ping.

    -Doug

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.