system
January 12, 2012, 2:19pm
1
(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 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
system
January 12, 2012, 6:02pm
2
(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).
system
January 13, 2012, 11:30am
3
(imported comment written by Maros)
Thanks a lot.
This is big this advata
system
January 13, 2012, 11:34am
4
(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.
Maros
system
January 16, 2012, 5:42am
5
(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