[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

Creating Automated application with asp.net/vb.net

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
Sirdots
Asked:
Sirdots
  • 2
1 Solution
 
Jens FiedererCommented:
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
 
SirdotsAuthor Commented:
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
 
Jens FiedererCommented:
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now