PDA

View Full Version : Shutting Down Options


diesel25
25-11-2006, 18:15
I would like to know if there is a utility or batch script that would allow for me to pick a certain time that I want to turn my computer that runs teamspeak server off but under the conditions that it waits until the last person has logged off the teamspeak server. And it would be awesome to know if there is a utility that will turn my computer on at a certain time. The computer is an older computer so it doesn't have WOL. Any suggestions or can you make something for this?

Reedy Boy
25-11-2006, 19:22
Some PC's (probably generally newer ones), have an option in the BIOS to start it up at time x...

Bastian
27-11-2006, 08:40
Moved to "3rd Party Applications / Scripts".

To my knowledge, there is no tool / script like this. But it could be created using the TCP query interface which allows 3rd party applications to send commands to and receive information from the TeamSpeak 2 server.

Such a tool could easily check the player count and shutdown your system.

I don't know of any tool which can turn on a computer at a given time, but I know that it's possible to do it. We have a Linux box here which automatically boots up and saves a backup. If you are running Linux, a Linux expert might be able to help you.

Otherwise, someone else might have an idea on how to do this on Windows.

437thVAC
28-11-2006, 02:55
in the Windows BIOS there is a function to boot up the system, as for the particular programs that you have saved on the computer, Windows can not start these programs by itself. I personally have searched every corner of Windows XP Home for this function, but i have yet to find it. ... you can however leave your computer running at night, and if you have a highly trusted friend, allow them (SA) rights, and them get TS Admin Client, and they can Stop / Start your server at night when the last person logs off, then IF they get up in the morning before you do, then they can start it back up for you.

other than that, unless someone else knows more than I do, that may be your only bet. :o

Reedy Boy
28-11-2006, 10:57
You can use a service

And then start the service at a scheduled time, and there is an option to kill services if still running after x hours after starting...

Other than that, you have it in the startup folder in your program files so when you logon it starts it up


Re the Bios start up - Not all machines have this




Re the actual TS shutdown element - It would be possible to custom code something - So at x time, until its shutdown, it checks who/how many is on the server, and if = 0, kill the service....? Using the telnet access or similar...



The other option could be in S3 Standby, windows may be able to bring it out of the standby at set times....



I did have a root kit or something from MS somewhere that you can turn nearly anything into a service... But when TS has a service binary, it isnt really needed