On 14 Jan 2007 02:06:31 -0800, acon <[EMAIL PROTECTED]> wrote:
Tengo hecho un pequeño script para lanzar un tunel PPTP en el caso que se caiga. Contiene lo siguiente:# tunel.sh #Lanza el tunel si esta caido TUNEL=`/sbin/ifconfig|grep ppp` echo $TUNEL if [ "$TUNEL" = "" ] then date echo "El tunel está caido" pon pptpvpn else date echo "el tunel está bien" fi Lo curioso es que si lanzo el script desde el shell: /bin/tunel.sh El tunel arranca si está caido, pero cuando arranca desde el cron con esta linea: 0 * * * * /bin/tunel.sh
Mira este documento, que acabo de traducir dado tu problema y nos comentas si te ayuda. http://jaws.go2linux.org/index.php?page/CronJob_no_corre_desde_Cron_pero_si_desde_interactivo saludos, -- Guillermo Garron "Linux IS user friendly... It's just selective about who its friends are." (Using FC6, CentOS4.4 and Ubuntu 6.06) http://www.go2linux.org

