I've got a script already made feel free to use it basically just edit the settings in the settings section and you should be golden, rename it to <whatever>.sh set a cronjob to run "<whatever>.sh update" it'll stop the server check for updates then start it back up.
Location to the file: http://hiddenco.de/~john/controlscript.txt If you got any questions just email me directly or here. Direct email is jonathan...@gmail.com -John On Fri, Dec 11, 2009 at 3:49 PM, Tristan <tris...@netspill.net> wrote: > http://www.linuxconfig.org/Bash_scripting_Tutorial > > That should help you out. > > -Tristan > > -----Original Message----- > From: hlds_linux-boun...@list.valvesoftware.com > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Daniel > Nilsson > Sent: Friday, December 11, 2009 15:33 > To: Half-Life dedicated Linux server mailing list > Subject: Re: [hlds_linux] Autoupdate broken, script instead? > > Ok then do you have some links i can read from? Howtos and so? > > //Daniel > > f0rkz skrev: > > QFT > > > > On Fri, 2009-12-11 at 12:27 -0400, Crazy Canucks wrote: > > > >> I should add, the power, flexibility, and simplicity of Bash scripting > >> is one of the absolute best features of the GNU/Linux operating system. > >> You will be missing out on a lot of what makes GNU/Linux so special if > >> you don't take the time to learn at least the basics. > >> > >> 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. > >>> > >>> f0...@f0rkznet.net > >>> > >>> 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 > >> > > > > > > > > _______________________________________________ > > 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 4680 (20091211) __________ > > > > The message was checked by ESET NOD32 Antivirus. > > > > http://www.eset.com > > > > > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature > database 4680 (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 > > -- Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html> - "Sports is like a war without the killing." _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux