Search the Community
Showing results for tags 'wake-up'.
-
Well, I am pretty sure this is possible. I have seen many solutions for this, but I couldn't understand how to configurate it. I have a Minecraft CraftBukkit server, but I want to automatize it a bit. Something like this: 10:00: Wake up pc from hybernating, and start 2 servers (they have both this CMD "gui"). After starting: Type 'save-all' (without the quotes) in both CMD's every 15 minutes until 13:00 13:00: Type 'broadcast Restarting server!' in both CMD's 13:02: Type 'stop' in both CMD's 13:04: Press the ENTER button in both CMD's, wait 5 seconds and restart the pc. After restart: Start both servers. After starting: Type 'save-all' in both CMD's every 15 minutes until 16:00 16:00: Type 'broadcast Restarting server!' in both CMD's 16:02: Type 'stop' in both CMD's 13:04: Press the ENTER button in both CMD's, wait 5 seconds and restart the pc. After restart: Start both servers. After starting: Type 'save-all' in both CMD's every 15 minutes until 20:00 20:00 Type 'broadcast Restarting server!' in both CMD's 20:02 Type 'stop' in both CMD's 20:04: Press the ENTER button in both CMD's, wait 5 seconds and restart the pc. After restart: start both servers. After starting: Type 'save-all' every 15 minutes in both CMD's until 01:00 01:00 Type 'broadcast STOPPING SERVER!' in both CMD's 01:02 Type 'stop' in both CMD's 01:04 Press the ENTER button in both CMD's, wait 5 seconds and set the pc to hybernate, and repeat the sequence (the pc wakes up at 10:00 again). What I would like, is a clear optin/config in the beginning of the file or something where I can set when the server should start and stop (e.g $start=10:00; $stop=01:00) and when it should restart (e.g $restart=13:00;16:00;20:00) if that is possible. If anyone can make a script like that for me, then I would be very happy. I have never used AutoIt before, I was just recommended by a friend about it. -CasterAnd