Austrothalik Posted February 24, 2021 Share Posted February 24, 2021 How i van restart a resource by command in the addCommandHandler? Link to comment
SpecT Posted February 24, 2021 Share Posted February 24, 2021 (edited) Welcome to the forums! The function to restart resources is restartResource. You need to pass it a resource element so you could use getResourceFromName. Example: restartResource(getResourceFromName("testResource")) Note: Don't forget that restartResource requires admin rights! Edited February 24, 2021 by SpecT Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now