Solved

Creating Automated application with asp.net/vb.net

Posted on 2006-06-23
3
220 Views
Last Modified: 2010-04-23
Hi,
I am creating an application that will be using a web service(Asp.net/vb.net). This application will run by itself at a particular day and time on weekly basis and will ftp files to another location. How can I handle this? Is this possible with .net?

Thanks.
Sirdots.
0
Comment
Question by:Sirdots
  • 2
3 Comments
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 16971839
Two ways of dealing with this:

1) Simply use the scheduler for your operating system to run the app.  On Windows XP, this would be "Scheduled Tasks" on your control panel.

2) Have the application ALWAYS running, and in your startup.  When it starts up, it takes a look at the time and suspends itself until the next intended run.
0
 

Author Comment

by:Sirdots
ID: 16972450
Thanks for your comments. Is it possible to use the scheduler to run a web application. I guess from your suggestion what I need is a windows application that has an executable file. Example Myapp.exe
How is that possible to have an application running all the time?

Sirdots.
0
 
LVL 23

Accepted Solution

by:
Jens Fiederer earned 500 total points
ID: 16972480
You wouldn't normally run a web application.  You said that you had a web service, and services are normally triggered by clients.  

My suggestions assumed you would be writing a client program (perhaps a console application) that calls the web service.  This client program would be either run by the scheduler (1), or run by the startup and schedule itself (2).
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

25 Experts available now in Live!

Get 1:1 Help Now