autofire web application


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: autofire web application

  1. #1
    wancherng Guest

    autofire web application


    a newbie quetion:

    i would like to know how can i create a web application that periodically
    perform a background task in my web server?
    this is because i need the application to auto-retrieve data of another website(others
    ppl's website) and automatically update the data into a database in the server(autorun
    for mayb every hour...etc).and i can't use scheduled tasks in my server to
    do this.
    so, how do i start to build the application?
    hope you all can help bcoz this is the first time i build a web application
    and i have no idea how to start it.
    thanx in advance.

  2. #2
    Russell Jones Guest

    Re: autofire web application

    Create a Windows service that uses a WebRequest to get the data on the
    schedule you require and places it into the database. That way, the data is
    available the next time someone accesses your ASP.NET Web application.

    "wancherng" <wancherng@msn.com> wrote in message
    news:3e8988cf$1@tnews.web.devx.com...
    >
    > a newbie quetion:
    >
    > i would like to know how can i create a web application that periodically
    > perform a background task in my web server?
    > this is because i need the application to auto-retrieve data of another

    website(others
    > ppl's website) and automatically update the data into a database in the

    server(autorun
    > for mayb every hour...etc).and i can't use scheduled tasks in my server to
    > do this.
    > so, how do i start to build the application?
    > hope you all can help bcoz this is the first time i build a web

    application
    > and i have no idea how to start it.
    > thanx in advance.




  3. #3
    Phil Weber Guest

    Re: autofire web application

    > I would like to know how can I create a Web application
    > that periodically perform a background task in my Web
    > server?


    wancherng: I wouldn't use a Web application for this; I would create a
    Windows or console app, and run it as a scheduled task. You could also
    create a Windows service and have it running continuously in the background;
    it could periodically check the time (using a timer) and perform its query
    once per hour.
    --
    Phil Weber


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center