Announcement

Collapse
No announcement yet.

Auto run script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Auto run script

    Hi friends,

    "Long time see no you"! I am busy setting up me own website,
    not for technical use, is for cultural purpose.

    Now I am quite familiar with Perl script language, I can
    edit big script using same kownledge that learned from
    pbdos, there are no limitation for a programmer, just go
    and try, you will get it.

    The reason that I make this post is: I need to write a very
    simple program, using pbdos/pbconsole, continue running,
    auto contact my website every hour, just to run a
    script(already store in server).

    Make it simple: just like a person visit my site every hour.

    Why I need to do it this way? The hosting company are too
    "narrow brain", they not allow me to run a script every
    hour, they said "using too many resource", I can't discuss
    with them using my PE: Poor English.

    So, using pb console would be a easier way? or just
    pbdos3.2?

    Chua Puay Kiang(Singapore) http://call999.net
    (don't visit, you will see nothing)



  • #2
    ni hao, chua

    i just saw your post today. if your 'problem' still exists: take a look at http://www.powerbasic.com/support/pb...ad.php?t=23161

    there is an example how to get a page. this could be the page that runs your script.

    another easy way would be to do it completely in html using the refresh meta tag:
    <html><head><title>poll a page every hour</title>
    <meta http-equiv="refresh" content="3600 ; url=http://call99.net">
    <meta name="robots" content="noindex,follow">
    </head>
    <body>
    ........
    </body>
    all you need then is a computer permanently connected to the internet (cable, adsl, t1..t3) and running internet explorer. put that page on and it will refresh the page every hour. if that page contains the call to your script, the script is executed every hour this way.

    good luck,

    henk broekhuizen

    ------------------
    henk broekhuizen,
    [email protected]
    the netherlands
    Henk Broekhuizen, PA3BLP
    powerbasicforum -at- doorhet.net
    Sexbierum, The Netherlands
    ========================

    Comment

    Working...
    X