Solved

Creating Automated application with asp.net/vb.net

Posted on 2006-06-23
3
224 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 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