I have an ASP application which includes an asp page which
processes a user submitted file. I would like to
automate the process so the server scans the directory
every 5 minutes and processes any files in the directory.
I would like to 'reuse' the existing logic in the asp
page. How can I create a server process to do this?
The closest I can figure out is to hook the logic into a
application/session start logic in global.asa where it
would run everytime a new session was started, but I would
like it to run like a cron job every 5 minutes.

Background:
I now have a vb application which is submitting the files
and have no way to kick off the server processing logic.
I am using asp 3.0 and am trying to avoid creating a
webservice. I want to use the existing asp page since it
is using 3rd party proprietary com objects.

TIA

Re: Automating a task by Ray

Ray
Wed Dec 31 18:25:12 CST 2003

Here is an article about such a thing:
http://www.aspfaq.com/show.asp?id=2143

Ray at home

"Tom" <anonymous@discussions.microsoft.com> wrote in message
news:01a501c3cff2$ddafff40$a601280a@phx.gbl...
> I have an ASP application which includes an asp page which
> processes a user submitted file. I would like to
> automate the process so the server scans the directory
> every 5 minutes and processes any files in the directory.
> I would like to 'reuse' the existing logic in the asp
> page. How can I create a server process to do this?
> The closest I can figure out is to hook the logic into a
> application/session start logic in global.asa where it
> would run everytime a new session was started, but I would
> like it to run like a cron job every 5 minutes.
>
> Background:
> I now have a vb application which is submitting the files
> and have no way to kick off the server processing logic.
> I am using asp 3.0 and am trying to avoid creating a
> webservice. I want to use the existing asp page since it
> is using 3rd party proprietary com objects.
>
> TIA



Re: Automating a task by Tom

Tom
Wed Dec 31 20:43:42 CST 2003

Thanks. This is great!!!


>-----Original Message-----
>Here is an article about such a thing:
>http://www.aspfaq.com/show.asp?id=2143
>
>Ray at home
>
>"Tom" <anonymous@discussions.microsoft.com> wrote in
message
>news:01a501c3cff2$ddafff40$a601280a@phx.gbl...
>> I have an ASP application which includes an asp page
which
>> processes a user submitted file. I would like to
>> automate the process so the server scans the directory
>> every 5 minutes and processes any files in the
directory.
>> I would like to 'reuse' the existing logic in the asp
>> page. How can I create a server process to do this?
>> The closest I can figure out is to hook the logic into a
>> application/session start logic in global.asa where it
>> would run everytime a new session was started, but I
would
>> like it to run like a cron job every 5 minutes.
>>
>> Background:
>> I now have a vb application which is submitting the
files
>> and have no way to kick off the server processing logic.
>> I am using asp 3.0 and am trying to avoid creating a
>> webservice. I want to use the existing asp page since
it
>> is using 3rd party proprietary com objects.
>>
>> TIA
>
>
>.
>