Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2007 09:28:31 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        Supote Leelasuppakorn <pjn0211@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Shell script in crontab cannot write files into FreeBSD's filesystem.
Message-ID:  <20071205092831.a7ea7907.wmoran@potentialtech.com>
In-Reply-To: <BAY102-W3337CB4EF28B22D42A9745B96E0@phx.gbl>
References:  <BAY102-W3337CB4EF28B22D42A9745B96E0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Supote Leelasuppakorn <pjn0211@hotmail.com>:
>  
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071205092831.a7ea7907.wmoran>