Date: Sun, 04 Jan 2009 11:48:36 -0500 From: Tim Kellers <timothyk@wallnet.com> To: freebsd general questions <freebsd-questions@freebsd.org> Subject: PATH braincramp Message-ID: <4960E864.5060104@wallnet.com>
next in thread | raw e-mail | index | archive | help
I'm having a tussle with one of those things I've done a zillion times, but now I can't fathom what the heck is wrong. When I run flexbackup from a cron job (as root) , the following error is returned by e-mail to root: Errors: mbuffer not found in $PATH dump not found in $PATH restore not found in $PATH $PATH is set in root's crontab: $PATH = "/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin" mbuffer is in /usr/local/bin and dump and restore are in /sbin The cron'd command is: /usr/local/bin/perl /usr/local/bin/flexbackup -set backup -level incremental The machine is: Dell 2850 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 03:44:52 EST 2008 amd64 When I run the command from Webin's interface for scheduled cron jobs, the command completes successfully I know I'm missing something stupid, and I'm willing to wear the pointy hat if someone can enlighten me, somehow. Tim Kellers
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4960E864.5060104>