Auto-restart timer
-
- New to forums
- Posts: 5
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sat Feb 22, 2014 8:48 pm
Auto-restart timer
How would I set up a task to restart my machine and run 2 batch files that are on my desktop for my Garry's Mod servers? I tried setting up a task and every time the machine starts, it would begin the 1 minute timer to restart and it would spam-open the .bats. Can someone post a step-by-step guide on how to do it? I want it to restart at 4 AM and start the batches around 4:05 AM
Re: Auto-restart timer
Scheduled task should work fine for what you are doing. Can you go over your exact settings for the scheduled task to be sure you didn't make a mistake along the line?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: Auto-restart timer
I got it to work, but it doesn't show me the .bats or .exes when I connect to the machine. It just runs in the background, and I can't find out how to open it.
In task scheduler, it says this under "Last Run Result"
However it still ran the server.
In task scheduler, it says this under "Last Run Result"
Code: Select all
The operation being requested was not performed because the user has not logged onto the network. The specified service does not exist.
Re: Auto-restart timer
I can't edit my post again, so I have to post another one.
I set it to run whether the user is logged on or not and it worked, but it doesn't show the .exe for the console. How do I make it show it?
I set it to run whether the user is logged on or not and it worked, but it doesn't show the .exe for the console. How do I make it show it?
-
- This is my homepage
- Posts: 1573
- Joined: Sun Jun 26, 2011 8:03 am
Re: Auto-restart timer
I think because if you double-click the .bat, it then runs as an Administrator user which allows you to see the application. Should appear in the task manager as run by Administrator.
If it's automated, it's now running as a System user which appears only to run as a background application so you don't see anything. But should appear in the task manager running as System.
If your using some sort of logging, running as System user, then your logs would show whats actually happening in detail.
If it's automated, it's now running as a System user which appears only to run as a background application so you don't see anything. But should appear in the task manager running as System.
If your using some sort of logging, running as System user, then your logs would show whats actually happening in detail.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Find Your GSP Coupons at gspreviews.com/coupons/