Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
I need a program that...

New User

Apr 26, 2015, 9:17 PM

Views: 9535
I need a program that...

So I need a program that will take a linux server running 4 .sh files running Minecraft servers that are in a screen that will run save-all then stop inside of the screen. Then kill the .sh files and then sleep for 180 seconds then shutdown -r 0 the server and then after the system boots up we need it to start this service "service mongodb start" sleep 30 seconds start up the proxy.sh file (all .sh files need to start in separate screens) (if locations of files is needed let me know) then start up the last 3 .sh files and thats it we need it to run every Wednesday at 3 am MST. If this is at all possible this would be awesome we have issues with RAM usage increasing as the servers are left on 24/7 a simple reboot fixes it, but we would like for it to be an automatic restart. If any more info is needed please reply what you need. I am not the best at writing so I hope this makes sense and that someone can help me with getting this done.