Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I schedule an asp.net script to run on a recurring basis

Status
Not open for further replies.

mit99mh

Programmer
Sep 24, 2002
246
GB
Sorry if this question has been asked before but how can I use VB.NET to run a web page every week to perform some housekeeping work?

Any help much appreciated...
 
Hi
You could
1. Set a vbs file to shell internet explorer and the web address of the page, then add a scheduled task for this vbs file to be run every week.
2. Make a vb.net exe containing your housekeeping and get this to run every week thru a scheduled task.
3. Investigate windows services.
4. Put a check to see if your housekeeping tasks need to be done in your application_onstart or session_onstart in the global.asax file for your web app and if they do, perform them there.

Hope this gives you an idea

Mark [openup]
 
One option I have ran across that Mark missed..

Set up a webservice with the code that does your housekeeping tasks. Have another machine run a scheduled task to hit that webservice every week.

That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top