PDA

View Full Version : Scheduled Task Manager


hprinzus000
04-30-2005, 10:45 AM
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

diltonm
05-03-2005, 02:09 AM
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