#!/bin/sh
#
# Run this script from cron using a crontab similar to:
#
# MAILTO=reindex@freesoft.org
# 20 5 * * * /usr/local/bin/this-script

cd /your/path/to/CIE
rsync -rzt rsync://rsync.freesoft.org/CIE .
rsync -rzt rsync://rsync.freesoft.org/RFC .
cd cgi-bin
./reindex.pl
