Daniel, I'd suggest you do some reading up on Bash scripting, and take the time to learn at least the basics. Bash scripts can, and will, save you unimaginable amounts of effort and bother. I'm not saying you shouldn't accept f0rkz' offer of help, but take the time to understand what he is telling you and how it works. You will be glad you did.
Just a quick example of what I mean. I host my clan servers on weekend nights, and I host them on the same broadband connection that I host our website. So what I do to conserve bandwidth and make sure there are no performance issues is shut down the regular website and replace it with a minimal website and then start up the server. I used to have a check list of over twenty steps that I had to go through to complete that process, and of course there was always the chance I'd forget some step and end up with problems. Since I discovered the joys of scripting those 20+ steps have been reduced to one. I run the script, tell it what mod I want to run, and scripts and cron do everything else, including shutting down the game server in the early hours of the morning and reinstating the regular website. Drek f0rkz wrote: > Well you could create a bash script to run a kill of your hlds_linux > process, then run an update, then run the startup. Should be pretty > simple actually. Make sure you run everything in screen though! > > You can contact me privately if you would like help on the scripting. > > [email protected] > > On Fri, 2009-12-11 at 16:17 +0100, Daniel Nilsson wrote: > >> Need more explanation. Im running debian lenny and know howto change my >> cron. But thats almost everything. >> >> f0rkz skrev: >> >>> You can use cron to run a bash script at 4:00 am. >>> >>> Let me know if you don't know how to do that, and I'll explain more. >>> >>> On Fri, 2009-12-11 at 15:57 +0100, Daniel Nilsson wrote: >>> >>> >>>> Is there any script that can help me shedule my updates on my day of >>>> defeat server? >>>> >>>> *stop server 04:00 >>>> *update with verify >>>> *start server with correct affinity >>>> >>>> //Daniel >>>> >>>> >>>> __________ Information from ESET NOD32 Antivirus, version of virus >>>> signature database 4679 (20091211) __________ >>>> >>>> The message was checked by ESET NOD32 Antivirus. >>>> >>>> http://www.eset.com >>>> >>>> >>>> >>>> _______________________________________________ >>>> To unsubscribe, edit your list preferences, or view the list archives, >>>> please visit: >>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >>>> >>>> >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >>> >>> >>> >>> __________ Information from ESET NOD32 Antivirus, version of virus >>> signature database 4679 (20091211) __________ >>> >>> The message was checked by ESET NOD32 Antivirus. >>> >>> http://www.eset.com >>> >>> >>> >>> >> >> __________ Information from ESET NOD32 Antivirus, version of virus signature >> database 4679 (20091211) __________ >> >> The message was checked by ESET NOD32 Antivirus. >> >> http://www.eset.com >> >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

