Solved

Creating Automated application with asp.net/vb.net

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 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

18 Experts available now in Live!

Get 1:1 Help Now