Glad it helped.  It's really handy to use in cron jobs if you want to automate 
things on your server.  I use it in a cron job to put our TF2 server into 
birthday mode every Thursday (and switch it back to regular mode every Friday).

    - Dave

----- Original Message -----
From: Crazy Canucks <[EMAIL PROTECTED]>
Date: Monday, December 8, 2008 7:14 pm
Subject: Re: [hlds_linux] rcon command linux
To: Half-Life dedicated Linux server mailing list 
<[email protected]>

> Thanks a lot for this.  I've wanted a way for my shut down 
> script to 
> send shutdown warnings to my server.  I figured there had 
> to be a way, 
> but I couldn't figure it out last time I took a stab at 
> it.  :)
> 
> Cheers, Drek
> 
> David A. Parker wrote:
> > You can send commands to a running screen like so:
> >
> > screen -S myscreen -X eval 'stuff stats\015'
> >
> > This would send "stats" followed by a return (\r) to the 
> screen named 
> > "myscreen".  You'll see it on the console if you attach 
> to myscreen 
> > afterward.  I don't know of a way to capture the output 
> on a screen, though.
> >
> >      - Dave
> >
> > Joseph Laws wrote:
> >   
> >> I imagine that would still be logged.
> >>
> >> Marcel wrote:
> >>     
> >>> Is there a way to store the actual "screen" in a variable or 
> text file?
> >>>
> >>> It would be cool to "send" a command like "stats" to the 
> screen and get 
> >>> the output of it. Where the first "problem" would be to 
> automatically 
> >>> attach to the screen, enter command, detach the screen and 
> then get the 
> >>> content of the screen. This sould be done by a bash script.
> >>> This way you'd be able to generate nice mrtg graphs about 
> fps etc. 
> >>> *without* the rcon password and without logging of the access.
> >>>
> >>>
> >>> - Marcel
> >>>
> >>> _______________________________________________
> >>> 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

Reply via email to