> #!/bin/bash > > d=`snmpget -v2c -OQv -c sofasp 200.87.13.1 .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1` > > a=`perl -e 'print time, "\n" '` > > /usr/bin/rrdtool update prueba0.rrd $a:$d >/dev/null > > When I run it in the command line (with sh prueba0.sh), it work fine, but > with the crontab, the Data Base is not updated well. I put this line. > > */5 * * * * /bin/sh > /srv/www/htdocs/pruebas/prueba0.sh >/dev/null 2>&1 > > Do you now what is the problem with mi script.
Do not discard diagnostic messages but examine them. (Personally I guess file prueba0.rrd is not in your $HOME.) Gabor -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
