Results 1 to 2 of 2

Thread: CURL or WGET CRON question

  1. #1
    Join Date
    Sep 2006
    Posts
    6

    Question CURL or WGET CRON question

    I have a url that creates a file

    http://finance.yahoo.com/d/quotes.csv?s=$goog&f=nsl1d1c1ohgv

    i need to save the file in my directory so that another script can put it in my SQL DB... via a cron... this part is done

    how do i save a file in my directory from the CRON?

    this is what i tried...

    wget -P http://finance.yahoo.com/d/quotes.cs...f=nsl1d1c1ohgv >~/public_html/

    thanks

    fitz

  2. #2
    Join Date
    Sep 2006
    Posts
    6

    Angry

    i figured it out... i wrote a curl php function and call that from the cron.


    fitz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •