On Tue, 12 Feb 2008, Jason Ledford wrote: > /sbin/ipvsadm | sed -e s/$/\<br\>/ > /var/www/active/index.html > > I am trying to run this to create a web page that can be > checked to see what director is active and show the > routing table. The script runs just fine if I execute it. > But when cron runs everything in the script runs except > the ipvsadm part, it just seems to not do anything.
cron has the PATH=/bin:/usr/bin and all directories for files have to be explicite. Is sed in cron's PATH? Break the ipvsadm line up. What if you do # /sbin/ipvsadm | logger Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant map generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux! _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
