Date: Fri, 21 May 2004 18:27:56 +0000 From: Andy Smith <andy@freebsdwiki.org> To: freebsd-questions@freebsd.org Subject: Re: Script won't run from cron Message-ID: <20040521182756.GD77307@cashmere.blitzed.org> In-Reply-To: <20040521195407.W12223@a2.scoop.co.nz> References: <20040521195407.W12223@a2.scoop.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
--XMCwj5IQnwKtuyBG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 21, 2004 at 08:20:04PM +1200, Andrew McNaughton wrote: >=20 > Since upgrading from 4.5-RELEASE to 4.8-RELEASE (actually rebuilding the > system and mounting the old /home directory), I'm having problems with a > process which rebuilds a search engine index. Everything runs fine from > the command line, but the same script fails when running from cron. >=20 > The /bin/sh script runs, but when it goes to fire up the indexing process, > that process fails. You need to figure out a way to get your program to tell you *what* exactly fails. A lot of things are different from cron - the most often noticed one being that you have a much shorter PATH - so maybe that is it. But if not, it will save you time to get your application to report what exactly it is doing that fails. --=20 http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B --XMCwj5IQnwKtuyBG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFArkosIJm2TL8VSQsRAk4UAJ488TXwD+JG1Wim0gzN9XYwlHc2pwCgjKKj vSEM/2oNA9wNCKL10XkTS60= =OjMo -----END PGP SIGNATURE----- --XMCwj5IQnwKtuyBG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040521182756.GD77307>
