cron job, every x minutes (i go 5) #!/bin/csh -f set pid=`/sbin/pidof named` if( $pid == "" ) then /usr/bin/logger -p info "restarting dns" /etc/rc.d/init.d/named stop sleep 5 /etc/rc.d/init.d/named start endif On Wed, 30 May 2001, bob wrote: > RedHat 6.1 server. Running as DNS server. Named stops randomly. > > What is the best way to chk if named is running and to restart named if it > is stopped? > > TIA > bob > > > _______________________________________________ > tclug-list mailing list > tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > -- || || || || || || duncan shannon duncan at sodatrain.com