[cod] Screen problem

Wildcard wildcard at hccnet.nl
Sat Jan 1 15:42:53 EST 2005


sorry to hack on this thread but is there even such a thing as a cronjob for
coduo that checks if the server is running...and if not...like after a crash
restarts it?..if so where can i find such a script...been googling for ages 
 
-------Oorspronkelijk bericht-------
 
Van: cod at icculus.org
Datum: 01/01/05 16:44:29
Aan: cod at icculus.org
Onderwerp: [cod] Screen problem
 
hi guys happy new year!!
 
I have a strange problem when using screen command in cronjob:
 
I have start/stop/restart/status script in /etc/rc.d/init.d - script is
called cod
 
now, when I run /etc/rc.d/init.d/cod from the command line  it works fine,
and the startup line (using screen) works fine also, I am able to do screen
-ls and the screen shows
 
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???
 
Why would this be?
 
Thanks
 
P.s I can include the script if it helps
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20050101/0af2c6ee/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1431 bytes
Desc: not available
URL: <http://icculus.org/pipermail/cod/attachments/20050101/0af2c6ee/attachment.jpeg>


More information about the Cod mailing list