Hello,
To make sure that your deployment is getting executed only when a computer is online, you could add a deployment configuration and use the option to deploy "after scanning" instead of schedule. In this way the deployment will only be executed after a successful scan (when the computer is online).