simple shell script

Beecher Rintoul akbeech at gmail.com
Thu Dec 8 07:55:22 PST 2005


On Thursday 08 December 2005 05:39 am, Will Maier wrote:
> On Wed, Dec 07, 2005 at 08:16:31PM -0900, Beecher Rintoul wrote:
> > Thanks to you both, I missed the background option. Actually it
> > just needs to run in the background to log some hits on a free
> > webserver that I use for testing. I forget and they will cancel my
> > account if there's no traffic for a month. The timeout also looks
> > interesting and I'll look into it.
>
> You might want to consider using fetch, wget or curl for this
> application, not lynx. A simple cron job to request and download
> your webpage (if your webpage was google.com ; )) could be as simple
> as:
>
> 10  2   *   *   *   /path/to/ftp -o /dev/null
> http://www.google.com/index.html > /dev/null
>
> Or, using curl:
> 10  2   *   *   *   /path/to/curl -s http://www.google.com/index.html >
> /dev/null

Thanks, that is a much simpler solution. I have curl installed and I'll give 
it a try.

Beech

-- 

---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech at gmail.com
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051208/f0aea006/attachment.bin


More information about the freebsd-questions mailing list