<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> <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 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á ON ou OFF sem ter nescessidade de ter que ficar entrando em algum navegador. <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"><<a href="mailto:cassioelias@hotmail.com">cassioelias@hotmail.com</a>></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> <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>> From: <a href="mailto:lscrlstld@gmail.com">lscrlstld@gmail.com</a><br>> To: <a href="mailto:centos-pt-br@centos.org">centos-pt-br@centos.org</a><br>> Date: Mon, 24 Sep 2012 10:33:59 -0300<br>
> Subject: [CentOS-pt-br] RES: Script Funciona na mão, mas não Funciona pelo Cron.<div><div class="h5"><br>> <br>> > Obrigado a todos pelas respostas.<br>> ><br>> > Podem ignorar os fi seguidos, pois é erro na hora de colar. <br>
> > O código é esse abaixo corrigido sem os fi adicionais.<br>> <br>> > Estou usando o cron do usuário padrão de login. Que no caso <br>> > é o root que estou usando.<br>> <br>> Como está o PATH do usuario root no cron?<br>
> <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>
</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> </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>
<br>_______________________________________________
CentOS-pt-br mailing list
CentOS-pt-br@centos.org
http://lists.centos.org/mailman/listinfo/centos-pt-br</div>                                            </div></body>
</html>