472,145 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

Automating a task

Tom
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
Jul 19 '05 #1
2 1479
Here is an article about such a thing:
http://www.aspfaq.com/show.asp?id=2143

Ray at home

"Tom" <an*******@discussions.microsoft.com> wrote in message
news:01****************************@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

Jul 19 '05 #2
Tom
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" <an*******@discussions.microsoft.com> wrote in messagenews:01****************************@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

.

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Charles Banas | last post: by
1 post views Thread by Mark | last post: by
4 posts views Thread by Supa Hoopsa | last post: by
17 posts views Thread by Franc Zabkar | last post: by
4 posts views Thread by access-newb | last post: by
1 post views Thread by richard | last post: by
2 posts views Thread by Dave | last post: by
6 posts views Thread by =?Utf-8?B?QWRyaWFuIEpvbmVz?= | last post: by
reply views Thread by Saiars | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.