Shell script in crontab cannot write files into FreeBSD's filesystem.

Bill Moran wmoran at potentialtech.com
Wed Dec 5 06:28:33 PST 2007


In response to Supote Leelasuppakorn <pjn0211 at 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


More information about the freebsd-questions mailing list