From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 14:28:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29BC716A417 for ; Wed, 5 Dec 2007 14:28:33 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id F082213C4DB for ; Wed, 5 Dec 2007 14:28:32 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 5783DEBC3C; Wed, 5 Dec 2007 09:28:32 -0500 (EST) Date: Wed, 5 Dec 2007 09:28:31 -0500 From: Bill Moran To: Supote Leelasuppakorn Message-Id: <20071205092831.a7ea7907.wmoran@potentialtech.com> In-Reply-To: References: X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Shell script in crontab cannot write files into FreeBSD's filesystem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2007 14:28:33 -0000 In response to Supote Leelasuppakorn : > > Hi all, > > Please anybody help me, I faced the problem with my "crontab". I > tried to run a shell script which will fetch webpage and save it toa > directory by using wget but after few minute I cannot see any filein > such directory > > Below are content of shell script, my crontab and also > file's permission listing. Format your emails so they're actually readable. > ################### > # The output of `crontab -l`################### > > SHELL=/bin/sh > MAILTO=pjn > * * * * * . /home/pjn/parseGP/fetchPage.sh ^^^^ What is the . doing there? Are you watching /var/log/cron.log for errors, as I expect you'll see some. -- Bill Moran http://www.potentialtech.com