• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Connect to web address...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connect to web address...


  • Subject: Re: Connect to web address...
  • From: Sherm Pendley <email@hidden>
  • Date: Tue, 4 Jun 2002 00:09:53 -0400

On Monday, June 3, 2002, at 10:07 PM, Albert Atkinson wrote:

So, pretty much what I need is a script that will connect to a web address every 45 seconds. It does not need to display the results in any text view or anything, just so the PHP on my server registers the visit.

It probably borders on heresy to say this here, but sometimes a simple little shell script is all you need. :-)

#!/bin/tcsh
startloop:
curl http://www.site-name.com > /dev/null
sleep 45
goto startloop

sherm--

Never put off until tomorrow what you can do today. There might be a law against it by that time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Connect to web address... (From: Albert Atkinson <email@hidden>)

  • Prev by Date: Re: Color comparison
  • Next by Date: Re: Getting started in OpenGL programming?
  • Previous by thread: Connect to web address...
  • Next by thread: Help : Releasing NSWindowController object ?
  • Index(es):
    • Date
    • Thread