SRCDS Steam group


problem with auto restart
#1
I have 2 windows serves. I use scheduled tasks to make the server restart at 3:00 AM and the servers to staryt on logon. The problem is, when the server tries to reboot, it asks if you want to end SRCDS now. Its a yes no question so it just stays there forever. Any way to stop that?
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#2
Use the force switch
Code:
-f
Reply
#3
put that in the schedule task command?
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#4
Here's how I make my server reboot:

  1. Make a file called reboot.bat
  2. Put the following in the file:
    Code:
    SHUTDOWN -r -f -t 30 -c "This REBOOT was caused by reboot.bat made by manofphat. It is run automatically."
  3. Make a scheduled task to run reboot.bat at the time you want. Set password on the task so it can run when the machine is locked
  4. Good to go!
Reply
#5
On the topic of scheduled tasks: my scheduled tasks NEVER run because of a silly error such as this one "The task did not run because no user account password was entered" (or something like it).

Any sollution to that?
Reply
#6
Yeah it's what I mentioned above dude.
If you go to your task properties click on the "Set Password" button and enter in your account credentials.
Let me know if you have a problem finding the button
Reply
#7
Doggie52 Wrote:On the topic of scheduled tasks: my scheduled tasks NEVER run because of a silly error such as this one "The task did not run because no user account password was entered" (or something like it).

Any sollution to that?

Basically you have to tell the task what user to run as. I have had problems in the past if the user I wanted to run it as didn't have a password. But if you connect remote desktop, you shouldn't have a problem with that.
Reply
#8
Thanks manophat!
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#9
Anytime dude Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)