in reply to Sending a http request from a cron script

There are many solution: You can use tools like wget or curl,

or use perl module LWP to build an agent en call it from cron.

I think the simpliest solution is to use wget :
http://www.gnu.org/software/wget/wget.html
  • Comment on Re: Sending a http request from a cron script

Replies are listed 'Best First'.
Re: Sending a http request from a cron script
by b10m (Vicar) on Mar 29, 2005 at 12:23 UTC

    No need to 'build an agent', for LWP comes with lwp-request and will ask you to install the aliases GET, HEAD, and POST. If you use those aliases, a simple `GET $url` will be sufficient.

    --
    b10m

    All code is usually tested, but rarely trusted.