This will run a Half Life server on Monday & Tuesday, TFC on Wed, Thurs and Friday and Counterstrike on the weekend and run update.exe at 1am every day then load up the server that was running once update.exe stops.
00 00 2 * * * c:\halfli~1\hlds -console
00 00 4 * * * c:\halfli~1\hlds -console -game tfc
00 00 7 * * * c:\halfli~1\hlds -console -game cstrike
00 01 * * * * -s:update.exe
So to run at 1am daily use:
00 01 * * * * -s:command.exe
Let me elaborate if I may, we both manage this WIN2003 server that BOT has mentioned. What we need is a script to run from the folder via the command prompt at 12:00AM every night 7 days a week. Below is the location of the folder and what has to run:
Our folder/directory location is C:\hlxce
The script hlstats-awards.pl has to run from that directory. So if some one would be as so kind as to help us with the proper syntax it would greatly be appreciated. I think we are close maybe someone can modify what we have here?
Tried this exactly as you have shown. Stipchaer has a typo, there was no "cd\" in the command line.
Serverdoc appears to keep trying to immediately restart the script on termnination over and over and eventually causes the wholeserver to crash. I need it to run the script once and then on termination wait and run it again 24hrs later.
What is the difference having the command line in the schedule.txt file vs. in the command line in sdcontrol? I've tried both ways but produces the same result (crash).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum