Marlon Martin wrote:
> i created a simple shell script:
> 
> filename: rn
> 
> #!/bin/sh
> rndc dumpdb
> 
> what it does, is just dump the hostname and IP addresses in /var/dump
> i set the time in 2 minutes but when i checked the logs, it doesnt work any
> idea what did i missed here?

You forgot to use the full path to rndc in your shell script.  You should not
assume that the $PATH cron passes you is going to have that command available.

-- 
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to