  | | | CRON issue | CRON issue 2007-03-14 - By gerard labadie
Back anything in /var/log/cron ? Your job was submitted at the supposed hour ?
14 Mar 2007 16:41:01 -0000, Tech Guy <tek_guy@(protected)>: > > > Hello, > > I am trying to troubleshoot a CRON issue : CRON doesn't run my scripts but > when run outside the CRON, the script runs perfect.(The same script was > running since a year and suddenly it stopped since a month. Nothing got > changed in the script or the env). The OS is RHAS 3.0, update 8. > > To troubleshoot further, I wrote a small script to output the date command > which is as below > > vi test.sh > -- ---- ---- ---- ---- ---- ---- -- > #!/bin/bash > /bin/date > /home/test/test.out > -- ---- ---- ---- ---- ---- ---- -- > then I added entries in the CRON: > > 15 10 * * * /home/test/test.sh > /home/test/testcron.out 2>&1 > -- ---- ---- ---- ---- ---- ---- -- > > The CRON again doesn't seem to be running the script. The script worked > fine when I execute it from the command propmt $ ./test.sh > > Has anyone experienced this kind of issues before. I verified the > environment too but still cannot figure out the cause. > > I appreciate your response. > > Thanks > TG > > > [image: Imagine]<http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www .rediff.com/signature-home.htm/1050715198@(protected)/1120029_1114336/1119255/1 ?PARTNER=3&OAS_QUERY=null+target=new+> > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Redhat-install-list mailing list > Redhat-install-list@(protected) > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request@(protected) > Subject: unsubscribe >
anything in /var/log/cron ?<br>Your job was submitted at the supposed hour ?<br ><br><br><br><div><span class="gmail_quote">14 Mar 2007 16:41:01 -0000, Tech Guy <<a href="mailto:tek_guy@(protected)">tek_guy@(protected) </a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p> <br> Hello,<br> <br> I am trying to troubleshoot a CRON issue : CRON doesn't run my scripts but when run outside the CRON, the script runs perfect.(The same script was running since a year and suddenly it stopped since a month. Nothing got changed in the script or the env). The OS is RHAS 3.0, update 8.<br> <br> To troubleshoot further, I wrote a small script to output the date command which is as below<br> <br> vi test.sh<br> -- ---- ---- ---- ---- ---- ---- --<br> #!/bin/bash<br> /bin/date > /home/test/test.out<br> -- ---- ---- ---- ---- ---- ---- --<br> then I added entries in the CRON:<br> <br> 15 10 * * * /home/test/test.sh > /home/test/testcron.out 2>&1<br> -- ---- ---- ---- ---- ---- ---- --<br> <br> The CRON again doesn't seem to be running the script. The script worked fine when I execute it from the command propmt $ ./test.sh<br> <br> Has anyone experienced this kind of issues before. I verified the environment too but still cannot figure out the cause.<br> <br> I appreciate your response.<br> <br> Thanks<br> TG </p> <br><br> <table style="font-family: Verdana; font-size: 11px; line-height: 15px;" border ="0" cellpadding="0" cellspacing="0" height="57" width="644"><tbody><tr><td><a href="http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com /signature-home.htm/1050715198@(protected)/1120029_1114336/1119255/1?PARTNER=3& ;OAS_QUERY=null+target=new+" target="_blank" onclick="return top.js.OpenExtLink (window,event,this)"> <img alt="Imagine" border="0"></a></td></tr></tbody></table><br>__ ____ ____ __ __ ____ ____ ____ ____ ____ ____<br>Redhat-install-list mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Redhat -install-list@(protected)"> Redhat-install-list@(protected)</a><br><a onclick="return top.js.OpenExtLink (window,event,this)" href="https://www.redhat.com/mailman/listinfo/redhat -install-list" target="_blank">https://www.redhat.com/mailman/listinfo/redhat -install-list </a><br>To Unsubscribe Go To ABOVE URL or send a message to:<br><a onclick= "return top.js.OpenExtLink(window,event,this)" href="mailto:redhat-install-list -request@(protected)">redhat-install-list-request@(protected)</a><br> Subject: unsubscribe<br></blockquote></div><br>
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |