schedule to start web server automatically

Discussion in 'ASP .Net' started by Zeng, Apr 20, 2005.

  1. Zeng

    Zeng Guest

    Hello,

    I would like to make sure my web server gets hit periodically every 1 hours
    or so in case aspnet_wp.exe process gets recycled because memory consumption
    exceeds the setting limit - it would get relaunched and my code (static)
    gets to run again.

    I can put this in a batch file and have it scheduled to run:
    "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
    http://MySite/website/index.aspx

    The problem with that approach is that it doesn't return and a new IE window
    will be launched and stay up forever until somebody has to manually shuts it
    down.

    Do you know any other way? Thanks!
     
    Zeng, Apr 20, 2005
    #1
    1. Advertising

  2. Zeng

    Lucas Tam Guest

    "Zeng" <> wrote in
    news::

    >
    > I can put this in a batch file and have it scheduled to run:
    > "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
    > http://MySite/website/index.aspx
    >
    > The problem with that approach is that it doesn't return and a new IE
    > window will be launched and stay up forever until somebody has to
    > manually shuts it down.
    >
    > Do you know any other way? Thanks!
    >
    >


    Use the WebClient class, or Sockets Class, or HTTP classes..

    Using IE to ping a server is kludgy.

    --
    Lucas Tam ()
    Please delete "REMOVE" from the e-mail address when replying.
    http://members.ebay.com/aboutme/coolspot18/
     
    Lucas Tam, Apr 20, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jobs
    Replies:
    1
    Views:
    1,247
    sloan
    Jan 20, 2007
  2. =?Utf-8?B?TWlrZQ==?=

    HowTo Schedule ASPX page to Run Automatically

    =?Utf-8?B?TWlrZQ==?=, Sep 7, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    784
    Cubaman
    Sep 7, 2007
  3. cct
    Replies:
    1
    Views:
    381
    [MSFT]
    Jun 24, 2005
  4. Svante

    How to automatically start an ASP.NET Web Service

    Svante, Sep 29, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    128
    Svante
    Sep 29, 2005
  5. JackV
    Replies:
    1
    Views:
    184
    middletree
    Feb 25, 2004
Loading...

Share This Page