Schedule lab management to reboot machines?
Question ID: 109123
0
0

How can I use lab management to reboot the Lab Management machines prior to running the scheduled test sets. What I want to do is every night at 12:00 AM, I want to schedule a reboot of my 2 machines prior to running and scheduled test via lab management.

Marked as spam
Posted by (Questions: 98, Answers: 0)
Asked on July 30, 2019 2:43 pm
27 views
Answers (1)
0
Private answer

Lab management can reboot machines but does not have a built in way to schedule a reboot of the machines. You would have a few options that you could use to accomplish this, the easiest way would be to create a ''scheduled task'' then create a basic task in windows that restarts the machine at the same time every night. As long as the machine restarts to the login screen and you have lab service set to do the auto login then the test should be able to kick off once it restarts.

This is an example of a restart/shutdown script

https://www.thewindowsclub.com/schedule-shutdown-restarts-windows-7-task-schedular

and here is a list of arguments that you can use for the windows shutdown script:

https://www.easeus.com/computer-instruction/shutdown-power-off-windows-10-using-cmd.html

Also you could just make a simple batch script that restarts the machine and then call that batch script in a ''VAPI-XP'' test in alm and schedule that in the timeslots module of ALM.

Marked as spam
Posted by (Questions: 0, Answers: 364)
Answered on July 30, 2019 2:45 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top