Solved

Creating Automated application with asp.net/vb.net

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

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 …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

832 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