Hello!
You can define custom action which will call shutdown command with timeout option. For example, to be able to shutdown Windows system with delay, you could:
1. define new custom action in agent:
This will add new action called System.ShutdownWithDelay which will accept one argument - delay in seconds.
2. If you need to call this action automatically from event processing policy, create actions on server with different delays:
Name: Shutdown_5min
Action: System.ShutdownWithDelay 300
Name: Shutdown_8min
Action: System.ShutdownWithDelay 480
3. If you need to call this action manually via object tools, create new tools of type "action":
Name: Shutdown_5min
Action: System.ShutdownWithDelay 300
Name: Shutdown_8min
Action: System.ShutdownWithDelay 480
Hope this helps!
Best regards,
Victor
You can define custom action which will call shutdown command with timeout option. For example, to be able to shutdown Windows system with delay, you could:
1. define new custom action in agent:
Code Select
Action = System.ShutdownWithDelay:shutdown.exe /t $1
This will add new action called System.ShutdownWithDelay which will accept one argument - delay in seconds.
2. If you need to call this action automatically from event processing policy, create actions on server with different delays:
Name: Shutdown_5min
Action: System.ShutdownWithDelay 300
Name: Shutdown_8min
Action: System.ShutdownWithDelay 480
3. If you need to call this action manually via object tools, create new tools of type "action":
Name: Shutdown_5min
Action: System.ShutdownWithDelay 300
Name: Shutdown_8min
Action: System.ShutdownWithDelay 480
Hope this helps!
Best regards,
Victor
