From owner-freebsd-questions Wed Oct 9 20:59:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4AE237B401 for ; Wed, 9 Oct 2002 20:59:39 -0700 (PDT) Received: from mail.au.darkbluesea.com (mail.au.darkbluesea.com [203.185.208.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE16443E42 for ; Wed, 9 Oct 2002 20:59:37 -0700 (PDT) (envelope-from d.anker@au.darkbluesea.com) Received: (qmail 74880 invoked by uid 82); 10 Oct 2002 03:59:18 -0000 Received: from unknown (HELO ?10.0.0.188?) (10.0.0.188) by mail.au.darkbluesea.com with SMTP; 10 Oct 2002 03:59:18 -0000 Subject: Re: FTP gone weird From: Duncan Anker To: "DaleCo, S.P.---'the " solutions people' Cc: Michael Collette , FreeBSD Mailing Lists In-Reply-To: <034e01c27010$afc55cd0$fa00a8c0@DaleCoportable> References: <200210091438.26928.metrol@metrol.net> <034e01c27010$afc55cd0$fa00a8c0@DaleCoportable> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 10 Oct 2002 13:58:03 +1000 Message-Id: <1034222283.19082.8.camel@duncan> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2002-10-10 at 13:54, DaleCo, S.P.---'the solutions people' wrote: > I seem to remember a post about cron not doing what the user > did, and it was a shell issue. Try your command in sh, csh, etc., > and see if you can get the same error from CLI, if so, then the > shell is the issue. > > Grasping a straw, > > Both fetch and curl work off the command line. They also don't > produce an > > error when run from cron. Neither one is actually getting the file > though. > > > > What in the heck is it about cron that goofs these ports up?? It's almost certainly something to do with your environment settings - cron is pretty bare. Make sure that you use full path names from within the crontab and that your script explicitly sets any variables it needs. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message