Thanks guys for the psychostats I do it like that because someone told me
to, but I think you are right, it would be better just to put it right into
crontab. For the screen thing I really don't understand it, I know  you are
right thought its a pain in the ass to not have the console there but I use
hlsw. Maybe you could give me exact directions on what to do and wehre to do
it ? my halflife is in /halflife/hlds_l/ Also now that we are here on the
subject how would I get the machine to instead of booting up in linux do it
in failsafe ? Like on the screen it lets me choose from linux failsafe and
floppy and linux is default, and also I want to boot up into text mode and
networking instead of gui. thanks for all the help, oh yeah and I reboot
because my machine sucks I am not good at all at configuring it, sometimes
the network will crash, then hlds will just crash and not come up and then
some other error, rebooting gets rid of all my problems.


From: Leif Sawyer <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [hlds_linux] help with crontab, got it all i think
Date: Wed, 9 Jul 2003 14:14:37 -0800

This is a multi-part message in MIME format.
--
>
> Hey guys I finally setup all my crontab stuff, and now I am
> stuck. I can exec the hlds.sh in my root/bin directory and
> halflife starts up fine, but the psychostats is not working.
> And after the reboot at 3am the machine never runs the hlds.sh
> so baseically the scripts are working fine but crontab wont
> execute them here is my mian crontab entry :

couple of questions --

why are you rebooting the machine?  Just to kill the hlds process?
There are better ways, and you won't lose connectivity during
the process..


Personally, i run hlds under screen so that I can always access its console -- simply kill that screen session, and hlds will die right along with it.

If you don't run under screen, hlds will not have a console to
write to, and will never start up correctly (IIRC) so you
probably want to do something like this:

exec /usr/bin/screen -c ~games/.screenrc -S HLcstrike
~games/half-life/HLcstrike

where HLcstrike is a shell script containing the commands that you use
to start it up.

My screenrc looks like this:

<-------------->8 cut here 8<------------------->
multiuser on
acladd admin1,admin2,games,root
startup_message off
scrollback   2000
bindkey \003 detach
bindkey \033 detach
detach
<-------------->8 cut here 8<------------------->

I like multi-user, so that any of my admins can attach to the
server and see what's going on.  You don't have to use it.

the two bindkeys set up control-c and escape to detach from screen,
and the final detach makes sure that any new screens auto-detach from
the parent.

--
[ smime.p7s of type application/x-pkcs7-signature deleted ]
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

_________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to