<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2900.2523" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="PersonName" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
TT {
        FONT-FAMILY: "Courier New"
}
SPAN.E-mailStijl19 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=NL vLink=blue link=blue bgColor=white>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>h<SPAN class=281124015-01012005>i guys happy new 
year!!</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=281124015-01012005></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=281124015-01012005>I have a strange problem when using screen 
command in cronjob:</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=281124015-01012005></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=281124015-01012005>I have start/stop/restart/status script in 
/etc/rc.d/init.d - script is called cod</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=281124015-01012005></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=281124015-01012005>now, when I run /etc/rc.d/init.d/cod from 
the command line&nbsp; it works fine, and the startup line (using screen) works 
fine also, I am able to do screen -ls and the screen 
shows</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=281124015-01012005></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=281124015-01012005>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???</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=281124015-01012005></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=281124015-01012005>Why would this 
be?</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=281124015-01012005></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=281124015-01012005>Thanks</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=281124015-01012005></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281124015-01012005><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=281124015-01012005>P.s I can include the script if it 
helps</SPAN></FONT></FONT></FONT></SPAN></DIV></BODY></HTML>