Scheduled Task Manager

Discussion in 'ASP.NET / ASP.NET Core' started by hprinzus000, Apr 30, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. 1) What is the best method of determining whether a URL has been requested by the Scheduled Task Manager versus an interactive user? Currently I am checking against user agent and requesting host IP, both of which I found out empirically. This seems to work, but there has to be a more 'correct' way?

    2) My code is 'behind' a blank .aspx page. Is this the most efficient way (in terms of server load) to implement a scheduled task?

    3) I assume the scheduler does not sync with and/or check any http response from the scheduled task, does it? So, theoretically, a stimulus could be lost under extreme circumstances?

    Thanks in advance for any thoughts on this.

    Herbert Prinz
     
  2. These are just my thoughts as a user:

    1) You are using 'user agent' as it was intended.
    2) Code behind is usually preferred for various reasons for normal users, with a potentially high hit rate, so this seems congruent with its use in a DASP Scheduled Task.
    3) Tasks are atomic, self-contained, and self-directed else they would not be viable candidates for scheduling in DASP's scheduler.

    Dilton
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page