Sign in to follow this  
Llurendt

Automated Server Functions

Recommended Posts

Is anyone aware of a way to write a script to inject commands into the headless server? I'm attempting to create an automatic restart/backup script as a workaround for the 4 hour CPU usage issue I'm running into (and a way to handle routine maintenance, etc), but I can't figure out if RMI is somehow the way to do it and if so, how to make use of it. If you can provide assistance, please let me know!


 


Thanks,


-Llurendt


Share this post


Link to post
Share on other sites

So far the only command I can get the server to run is "shutdown". If you run the server in a Screen console you could use that to send a shutdown command.


Share this post


Link to post
Share on other sites

Currently running the servers with Tmux... I'll see if there is a way to send commands through that. Thanks for the idea!


Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this