Solved

Best solution for creating a regularly scheduled event.

Posted on 2006-06-09
4
253 Views
Last Modified: 2010-04-23
I am primarily an ASP.NET developer using VB.NET.  Occasionally I have the need to write an app that periodically (weekly) does some action (ie. send an email, create a report) based on data.  What are some methods to accomplish this task?

My current solution is to create an .aspx page that does the process and then schedule it via Windows scheduler and a .bat file.  This is prone to issues and I would prefer a more "solid" solution.

Thanks.

Jack.

0
Comment
Question by:JackWooten
4 Comments
 
LVL 44

Accepted Solution

by:
bruintje earned 500 total points
Comment Utility
Hi JackWooten,
----------

best solution is something debateable

why not do it all in VB.NET without using ASP? and schedule that process on the windows scheduler?

you could also use is the SQL Server Agent which is almost always up :)
building a DTS script that is scheduled on the SQL Server and does the file send for you since its close to the data building the report is also very robust

----------
bruintje
share what you know, learn what you don't
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now