Multiple restart in one Action script

(imported topic written by Maros)

Hello can I use function restart in middle of action script ? I need to create one task with multiple restarts.

Example1 of action script:

wait “pre-boot-run.bat”

restart 15

wait “pre-boot-run.bat”

Example1 run all action in one time :frowning: I need run wait “pre-boot-run.bat” after restart.

Or I must use two separate tasks in one baseline?

Example2:

Action script task1

wait “pre-boot-run.bat”

restart 15

Action script task2

wait “pre-boot-run.bat”

Have anybody experience with this situation ?

Thanks a lot

Maros

1 Like

(imported comment written by cstoneba)

I don’t think you can have multiple restarts in a single action script, because when you reboot, the client will lose where it left off.

However, you can have a baseline with multiple restart tasks in it. I do that and it works just fine. Note that I’ve seen where it can take up to 10 minutes for the endpoint to reboot, check in, and pickup where it left off in the baseline.

Example Baseline:

component 1 - task#1 (install)

component 2 - task#2 (reboot)

component 3 - task#3 (install)

component 4 - task$4 (reboot).

(imported comment written by Maros)

Thanks a lot.

This is big this advata

(imported comment written by Maros)

Thanks a lot.

This is a big disadvantage of Bigfix. For some software I will have single task but for some software I will need baseline. :frowning:

Maros

(imported comment written by SystemAdmin)

You should be able to configure Windows to run a task after it restarts.

http://forums.techarena.in/windows-xp-support/1113280.htm