[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 514
  • Last Modified:

On failure....

Anone know how to turn the action on failure information that is returned by a call to the SERVICE_FAILURE_ACTIONS structure into workable information? (ie: into seperate items that can be listed and worked with individualy)
0
tayto
Asked:
tayto
1 Solution
 
cruxyCommented:

idx: 0..SERVICE_FAILURE_ACTIONS.cActions


SERVICE_FAILURE_ACTIONS^.SC_ACTIONS[idx].Type

Possibilities
SC_ACTION_NONE                 No action.
SC_ACTION_REBOOT             Reboot the computer.
SC_ACTION_RESTART           Restart the service.
SC_ACTION_RUN_COMMAND  Run a command.

SERVICE_FAILURE_ACTIONS^.SC_ACTIONS[idx].Delay
time in ms to perform Action
0
 
taytoAuthor Commented:
sorry for the delay cruxy - your answer was not really what i was looking for but because i was late in getting back i'll award you the points and re-ask the question again.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now