Laercio,<div><br></div><div>Estava escrevendo a mesma coisa aqui.. rs</div><div><br></div><div>Tb acho que o problema seja esse.</div><div><br></div><div>Att</div><div>-- <br><font face="Calibri">Dilceu Luiz Pazinatto<br>Electronics technician<br>
Engineering students</font> <br><br><div class="gmail_quote">Em 24 de setembro de 2012 10:40, Laercio Motta <span dir="ltr">&lt;<a href="mailto:laerciomasala@gmail.com" target="_blank">laerciomasala@gmail.com</a>&gt;</span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">tenta colocar o caminho dos comandos utilizados:<br><br>/bin/ping bla bla bla<br><br>[]&#39;s<br><br><div class="gmail_quote">
Em 24 de setembro de 2012 10:37, Cássio Elias <span dir="ltr">&lt;<a href="mailto:cassioelias@hotmail.com" target="_blank">cassioelias@hotmail.com</a>&gt;</span> escreveu:<div><div class="h5"><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
Na verdade eu não deixei com path nenhum.<br> <br>Segue o comando cron do script proposto:<br> <br># CHECAR INTERNET - BEGIN<br>*/1 * * * * /etc/others/ping-teste/<a href="http://ping-teste_v1.2.sh" target="_blank">ping-teste_v1.2.sh</a><br>


# CHECAR INTERNET - END<br> <br>Coloquei 1 minuto de teste mesmo.<br> <br>Faltou algo no comando, está errado?<br> <br>Lembrando que na mão o script funciona sem problema. Pinga normalmente. Agora, só no cron que ele não executa. Digo, as respostas todas caem no OFF.<br>


<br> <br><div><div></div>&gt; From: <a href="mailto:lscrlstld@gmail.com" target="_blank">lscrlstld@gmail.com</a><br>&gt; To: <a href="mailto:centos-pt-br@centos.org" target="_blank">centos-pt-br@centos.org</a><br>&gt; Date: Mon, 24 Sep 2012 10:33:59 -0300<br>


&gt; Subject: [CentOS-pt-br] RES:  Script Funciona na mão, mas não Funciona pelo Cron.<div><div><br>&gt; <br>&gt; &gt; Obrigado a todos pelas respostas.<br>&gt; &gt;<br>&gt; &gt; Podem ignorar os fi seguidos, pois é erro na hora de colar. <br>


&gt; &gt; O código é esse abaixo corrigido sem os fi adicionais.<br>&gt;  <br>&gt; &gt; Estou usando o cron do usuário padrão de login. Que no caso <br>&gt; &gt; é o root que estou usando.<br>&gt; <br>&gt; Como está o PATH do usuario root no cron?<br>


&gt; <br>&gt; _______________________________________________<br>&gt; CentOS-pt-br mailing list<br>&gt; <a href="mailto:CentOS-pt-br@centos.org" target="_blank">CentOS-pt-br@centos.org</a><br>&gt; <a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>


</div></div></div>                                               </div></div>
<br>_______________________________________________<br>
CentOS-pt-br mailing list<br>
<a href="mailto:CentOS-pt-br@centos.org" target="_blank">CentOS-pt-br@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
<br></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><font style="font-family:courier new,monospace" size="2">╔</font><span style="font-family:courier new,monospace">══════════════════════════════════════════════</span><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)"><span style="color:rgb(0,0,0)">╗</span><br>


</span></font><font style="font-family:courier new,monospace" size="2">║</font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)"> </span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">L</span><span style="color:rgb(51,51,255)">aercio da Silva Motta</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)"> </span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2"><span style="color:rgb(51,51,255)">▒</span></font><font style="font-family:courier new,monospace" size="2">║<br>


</font><span style="font-family:courier new,monospace"></span><font style="font-family:courier new,monospace" size="2">║----------------------------------------------</font><font style="font-family:courier new,monospace" size="2">║</font><br>


<span style="font-family:courier new,monospace"></span><font style="font-family:courier new,monospace" size="2">║</font><font style="font-family:courier new,monospace" size="2"><b> Blog: </b><a href="http://www.laerciomotta.com/" target="_blank">http://www.laerciomotta.com/</a>           </font><font style="font-family:courier new,monospace" size="2">║</font><br>


<font style="font-family:courier new,monospace" size="2">║</font><font style="font-family:courier new,monospace" size="2"> <b>Twitter:</b> <a href="http://twitter.com/#%21/laerciomasala" target="_blank">http://twitter.com/#!/laerciomasala</a> </font><font style="font-family:courier new,monospace" size="2">║</font><br>


<font style="font-family:courier new,monospace" size="2">║</font><font style="font-family:courier new,monospace" size="2"> <b>Skype</b>: laerciomasala                         </font><font style="font-family:courier new,monospace" size="2">║</font><br>


<font style="font-family:courier new,monospace" size="2">║ Chave PGP: <a href="http://bit.ly/kXS6ga" target="_blank">http://bit.ly/kXS6ga</a>              </font><font style="font-family:courier new,monospace" size="2">║</font><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">╚═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">═</span><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">v1.0</span><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">═╝</span><br>



</font></span><br>_______________________________________________<br>
CentOS-pt-br mailing list<br>
<a href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-pt-br" target="_blank">http://lists.centos.org/mailman/listinfo/centos-pt-br</a><br>
<br></blockquote></div><br>
</div>