Can Cronjobs run a URL?

Discussion in 'Site & Server Administration' started by Dekker, Apr 25, 2006.

  1. #1
    I'd like a cronjob to run a website URL every hour...is this possible?
     
    Dekker, Apr 25, 2006 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Just use curl.
     
    digitalpoint, Apr 25, 2006 IP
  3. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hmmm I have it installed, just don't know how to use it
     
    Dekker, Apr 25, 2006 IP
  4. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
  5. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Dekker, Apr 25, 2006 IP
  6. toby

    toby Notable Member

    Messages:
    6,923
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    285
    #6
    ya, I also want to know about cron job to run a URL as well :D daily run
     
    toby, Apr 25, 2006 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    Just run the command:

    curl "http://www.myspizzy.com/autotrain/index.php?friendid=XXXXXX"
     
    digitalpoint, Apr 26, 2006 IP
  8. lorien1973

    lorien1973 Notable Member

    Messages:
    12,206
    Likes Received:
    601
    Best Answers:
    0
    Trophy Points:
    260
    #8
    you can also wget the url too right?

    wget "http://www.myspizzy.com/autotrain/index.php?friendid=XXXXXX"
     
    lorien1973, Apr 26, 2006 IP
  9. irunbackwards

    irunbackwards Peon

    Messages:
    791
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hehe, I appreciate you all using my site :)

    Please, if you use my script externally in your own programs, include a link back!

    ( also if you are interested in purchasing that php script @ myspizzy.com/autotrain please PM me! )
     
    irunbackwards, May 15, 2006 IP
  10. DrQuincy

    DrQuincy Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    DrQuincy, May 16, 2006 IP
  11. sakkaro

    sakkaro Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    this will download and store the page but I suppose curl only downloads but not stores
     
    sakkaro, May 19, 2006 IP