#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Netherlands
    Posts
    3
    Rep Power
    0
    I want to build an automatic script which performs the following actions:

    1) connect to a secure site with my username & password
    2) navigate through the pages to find some quotes.
    3) scrape these quotes from the pages
    4) compile these into a SMS-message
    5) send this SMS-message to a list of GSM Phonenumbers

    I have the availability of a cable connected Linux-server to perform these actions on.

    Should I write a crontab? Any other suggestions?

    Regards,
    Erwin Heukels
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    Alkmaar, The Netherlands
    Posts
    123
    Rep Power
    14
    I would suggest you write a Perl-script. This can retrieve the info from the web for you. You can request the page using LWP::UserAgent and use Regular Expressions to scrape the quotes from it.

    However I'm not sure how to send the SMS from there. Maybe there is site that you can put a request to with the info in the querystring, which will send it to you.

    Indeed you then can use cron to have executed every morning.

    ------------------
    Good luck,
    Bas

    ------------------
    E-mail me at: b.vandermeijden@pecoma.nl
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    UK
    Posts
    1
    Rep Power
    0
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by MeijdenB:
    I would suggest you write a Perl-script. This can retrieve the info from the web for you. You can request the page using LWP::UserAgent and use Regular Expressions to scrape the quotes from it.

    However I'm not sure how to send the SMS from there. Maybe there is site that you can put a request to with the info in the querystring, which will send it to you.

    Indeed you then can use cron to have executed every morning.

    [/quote]

    In the UK we have plenty of email to SMS gateways.

    Or in the UK you could go with a specialist SMS house if you wished to do this as a commercial operation.

IMN logo majestic logo threadwatch logo seochat tools logo