$OpenBSD: patch-inc_crontab,v 1.1 2012/02/17 21:41:08 mglocker Exp $ --- inc/crontab.orig Wed Jan 18 21:04:01 2012 +++ inc/crontab Wed Jan 18 21:04:30 2012 @@ -1,11 +1,11 @@ # example for hourly discovery with a config backup at midnight -#0 0 * * * /var/nedi/nedi.pl -vpB > /tmp/nedi-00.bup 2>&1 -#0 1-23 * * * /var/nedi/nedi.pl -p > /tmp/nedi-`date +\%H`.run 2>&1 +#0 0 * * * ${TRUEPREFIX}/nedi/nedi.pl -vpB > /tmp/nedi-00.bup 2>&1 +#0 1-23 * * * ${TRUEPREFIX}/nedi/nedi.pl -p > /tmp/nedi-`date +\%H`.run 2>&1 # or 5 min interval (for very small networks) -*/5 * * * * /var/nedi/nedi.pl -vp > /tmp/nedi-`date +\%H\%M`.run 2>&1 -#3 0 * * * /var/nedi/nedi.pl -vBA 'login !=""' -SsmgrfpitedobwaOA > /tmp/nedi-0003.bup 2>&1 +*/5 * * * * ${TRUEPREFIX}/nedi/nedi.pl -vp > /tmp/nedi-`date +\%H\%M`.run 2>&1 +#3 0 * * * ${TRUEPREFIX}/nedi/nedi.pl -vBA 'login !=""' -SsmgrfpitedobwaOA > /tmp/nedi-0003.bup 2>&1 # scan nodes for open ports during working hours -#0 11 * * 1-5 /var/nedi/nedi.pl -vs TUFupdate > /tmp/nedi-1100.scan 2>&1 +#0 11 * * 1-5 ${TRUEPREFIX}/nedi/nedi.pl -vs TUFupdate > /tmp/nedi-1100.scan 2>&1