>
> I don't get any errors when running it from command line,
> and the records
> update fine. My issue is just from cron.
>
It is almost cetainly a problem with paths in the scripts.
I had to update the Makefile to use the full path to rsync
(if you use it).
I also had to update the update script to use the full path
to wget.
I had the problem as you. It worked from the sommand line
but not from cron. The following fixed it. This is on
FreeBSD 5.2.1
EG.
Makefile
----------
remote: data.cdb
/usr/local/bin/rsync data.cdb rsync://192.168.100.4/tinydns/data.cdb
^^^^^^^^^^^^^^^
data.cdb: data
/usr/local/bin/tinydns-data
update-data.sh (about line 29 - version 0.9.7)
---------------
if /usr/local/bin/wget -v -O "$TINYDNSDIR/root/data.srv-$A"
$VD?state=get_data ; then
^^^^^^^^^^^^^^^
HTH
--
Scott Muller