MAN, that's a lot of code for such a simple task. mine is just: #!/bin/sh
# List of files to grab files=" http://www.merchantsoverseas.com/wwwroot/gorilla/bigevil.cf http://www.merchantsoverseas.com/wwwroot/gorilla/99_FVGT_Tripwire.cf http://www.emtinc.net/includes/popcorn.cf http://www.emtinc.net/includes/backhair.cf http://www.emtinc.net/includes/weeds.cf " # change to the spamassassin config directory cd /etc/mail/spamassassin # Grab all of the requested files restart=0 for file in $files; do if [ "$file" != "" ]; then wget -N "$file" 2>&1 | grep saved # Do we want SA to restart? if [ $? = 0 ]; then restart=1 fi fi done # Restart spamassassin if [ $restart = 1 ] ; then /etc/init.d/spamassassin restart 2>/dev/null 1>/dev/null echo "Restarted SpamAssassin" fi -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http://www.siliconmechanics.com/c292/blade-server.php 1U Servers: http://www.siliconmechanics.com/c272/1u-server.php ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk