> -----Original Message-----
> From: Marc G. Fournier [mailto:[EMAIL PROTECTED] 
> Sent: 03 October 2004 23:46
> To: Dave Page
> Cc: [EMAIL PROTECTED]
> Subject: RE: [pgadmin-support] no mirrors availeble
> 
> 
> slightly modified code added:
> 
>    status=`/usr/local/bin/psql -h pgsql74.hub.org -U 
> 186_pgsql -d 186_portal -A -t -F '' -c "SELECT 'SERVER_UP'"`
> 
>    if [ "$status" != "SERVER_UP" ]; then
>      echo "DNS not regenerated" | mail -s "WARNING: Server 
> $1:$2 is down!!" [EMAIL PROTECTED]
>      exit 1
>    fi

:-) That should prevent the zonefile getting stomped again then...

/D

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to