[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problemilla con cron



TooMany wrote:
> 
> Buenas.
> 
> Resulta que tengo una entrada en el /etc/cron.d/ como la siguiente:
> 
> 0-58/2 * * * *  root    if test -x /usr/lib/itools/slash.sh ; then
> /usr/lib/itools/slash.sh ; fi
> 
> Esta línea ejecuta el script slash.sh, que es el siguiente:
> 
> /usr/bin/lynx -source http://intranet.iatilon.com/Slashwatch/hgrab.php3 >
> /dev/null
> 
> Pero cuando se ejecuta, me da siempre el siguente error:
> 
> Your terminal lacks the ability to clear the screen or position the cursor.
> 
> ¿Puede alguien ayudarme y decirme porqué demonios no se me ejecuta bien? Si
> lo hago directamente desde la línea de comandos SI que me funciona...

Intenta escribir en el destino como si fuera un tty

Puede que lo siguiente te ayude
 
       -source
              works  the  same  as  dump  but outputs HTML source
              instead of formatted text.


       -dump  dumps the formatted output of the default  document
              or  one  specified  on the command line to standard
              output.  This can be used in the following way:

              lynx -dump http://www.trill-home.com/lynx.html


> Gracias por todo.

De nada

Nota: Ayer pase por delante de Atilon, pero no quedaba nadie

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Jordi Román Mejias                             e-mail:  
jordi.roman@uab.es
Linux User # 98296-70876
Autònoma Oberta   Servei de Informàtica   Universitat Autónoma de
Barcelona
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



Reply to: