Austrothalik 0 Posted February 24 Share Posted February 24 How i van restart a resource by command in the addCommandHandler? Link to post
SpecT 55 Posted February 24 Share Posted February 24 (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 by SpecT Link to post
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