Programmatically discover when a web process is scheduled to recyc

Discussion in 'ASP .Net' started by =?Utf-8?B?S2VpdGggSGFycmlz?=, Oct 20, 2005.

  1. Hi,

    I have an ASP.NET web application that runs certain tasks at a given time.

    Sometimes the task is scheduled to run at a time that coincides with when
    IIS is recycling an application's worker process.

    This causes my web application task not to run. Is it possible to query IIS
    using C# and discover when an application is scheduled to recycle it's worker
    process?

    This would enable me to disallow scheduling a task until after the recycle
    has taken place.

    Thanks very much for any help,
    -Keith
     
    =?Utf-8?B?S2VpdGggSGFycmlz?=, Oct 20, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?S2VpdGggSGFycmlz?=

    ViewState Guest

    One question, do you need to run this under the IIS???
    "Keith Harris" <> escreveu na mensagem
    news:...
    > Hi,
    >
    > I have an ASP.NET web application that runs certain tasks at a given time.
    >
    > Sometimes the task is scheduled to run at a time that coincides with when
    > IIS is recycling an application's worker process.
    >
    > This causes my web application task not to run. Is it possible to query
    > IIS
    > using C# and discover when an application is scheduled to recycle it's
    > worker
    > process?
    >
    > This would enable me to disallow scheduling a task until after the recycle
    > has taken place.
    >
    > Thanks very much for any help,
    > -Keith
    >
     
    ViewState, Oct 21, 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. RJN
    Replies:
    1
    Views:
    2,226
    Girish Bharadwaj
    Oct 12, 2004
  2. Alex Martelli
    Replies:
    25
    Views:
    1,504
    MrJean1
    Dec 1, 2005
  3. elaine
    Replies:
    3
    Views:
    458
    Jim in Arizona
    Apr 17, 2008
  4. tshad
    Replies:
    4
    Views:
    1,771
    Patrice
    Oct 15, 2009
  5. PhilV

    Using Web Services to create Scheduled Tasks

    PhilV, Sep 26, 2007, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    183
Loading...

Share This Page