<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Laércio, voce fala em deixar o comando cron assim?<BR>&nbsp;<BR># CHECAR INTERNET - BEGIN<br>*/1 * * * * /bin/<a href="http://ping-teste_v1.2.sh/" target="_blank">ping-teste_v1.2.sh</a><br># CHECAR INTERNET - END<br><BR>fiz dessa formar&nbsp;e mesmo assim ainda tudo da OFF. Eu não entendo, pois na mão da tudo ON. Só ta faltando isso para que eu possa saber se a internet aqui está&nbsp;ON ou OFF sem&nbsp;ter nescessidade de ter que&nbsp;ficar&nbsp;entrando&nbsp;em algum navegador.&nbsp;<BR><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: laerciomasala@gmail.com<br>Date: Mon, 24 Sep 2012 10:40:28 -0300<br>To: centos-pt-br@centos.org<br>Subject: Re: [CentOS-pt-br]        RES: Script Funciona na mão, mas não Funciona pelo Cron.<br><br>tenta colocar o caminho dos comandos utilizados:<br><br>/bin/ping bla bla bla<br><br>[]'s<br><br><div class="ecxgmail_quote">Em 24 de setembro de 2012 10:37, Cássio Elias <span dir="ltr">&lt;<a href="mailto:cassioelias@hotmail.com">cassioelias@hotmail.com</a>&gt;</span> escreveu:<br>

<blockquote style="padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="ecxgmail_quote">


<div><div dir="ltr">
Na verdade eu não deixei com path nenhum.<br>&nbsp;<br>Segue o comando cron do script proposto:<br>&nbsp;<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>&nbsp;<br>Coloquei 1 minuto de teste mesmo.<br>&nbsp;<br>Faltou algo no comando, está errado?<br>&nbsp;<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>&nbsp;<br><div><div></div>&gt; From: <a href="mailto:lscrlstld@gmail.com">lscrlstld@gmail.com</a><br>&gt; To: <a href="mailto:centos-pt-br@centos.org">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 class="h5"><br>&gt; <br>&gt; &gt; Obrigado a todos pelas respostas.<br>&gt; &gt;<br>&gt; &gt; Podem ignorar os fi&nbsp;seguidos, pois é erro na hora de colar. <br>

&gt; &gt; O código é esse abaixo corrigido sem os fi adicionais.<br>&gt; &nbsp;<br>&gt; &gt; Estou usando o cron do usuário padrão de login. Que no caso <br>&gt; &gt; é o root&nbsp;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">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">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><br clear="all"><br>-- <br><font style="color: rgb(0, 0, 0); font-family: courier new,monospace;" size="2">╔</font><span style="color: rgb(0, 0, 0); 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; </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>


<br>_______________________________________________
CentOS-pt-br mailing list
CentOS-pt-br@centos.org
http://lists.centos.org/mailman/listinfo/centos-pt-br</div>                                               </div></body>
</html>