[cod] Screen problem

Luke Antins (Firestorm Games) luke at firestorm-games.net
Sat Jan 1 11:52:48 EST 2005


So just to confirm, you are running this from roots crontab?

You may want to try playing about with screen and crontab (without running 
your script) just to see if you can attach to another screen session that 
was created via crontab.

I start a lot of screen sessions via the crontab and have never encountered 
this problem before :\

Kind Regards
Luke Antins
--
[Firestorm Games]
http://www.firestorm-games.net/

On Sat, 1 Jan 2005, Carlo Moretto wrote:

> Yeah im using the -S
>
> I tried doing the screen -r (screen_name) but it says no screen under that
> name...I do ps -ef and I can see that that screen name is present??
>
> -----Original Message-----
> From: Luke Antins (Firestorm Games) [mailto:luke at firestorm-games.net]
> Sent: 01 January 2005 16:33
> To: cod at icculus.org
> Subject: RE: [cod] Screen problem
>
>
> Are you using -S ? to set a session name, if so just try attaching to it
> regardless of if it shows in screen -ls.
>
> ie... if you done: screen -d -m -S my_cod_server ./commandtostartcod
>
> Just do: screen -r my_cod_server
>
> If it works then something is stopping the information from getting entered
> into your ~/.screen/ dir.
>
> Kind Regards
> Luke Antins
> --
> [Firestorm Games]
> http://www.firestorm-games.net/
>
> On Sat, 1 Jan 2005, Carlo Moretto wrote:
>
>> Root and root for both
>>
>> -----Original Message-----
>> From: Luke Antins (Firestorm Games) [mailto:luke at firestorm-games.net]
>> Sent: 01 January 2005 15:53
>> To: cod at icculus.org
>> Subject: Re: [cod] Screen problem
>>
>>
>> Carlo.
>>
>> What user are you starting the script with from crontab? and what user
>> are you trying to use to access the screen session? (the same user or
>> another?)
>>
>> Kind Regards
>> Luke Antins
>> --
>> [Firestorm Games]
>> http://www.firestorm-games.net/
>>
>> On Sat, 1 Jan 2005, Carlo Moretto wrote:
>>
>>> However, if I place this script in a cronjob, it executes, and shows
>>> both screen and the cod server running, but screen -ls shows no
>>> screens???
>>
>>
>
>



More information about the Cod mailing list