Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fredrik Esseen 610 posts 906 karma points
    Dec 07, 2009 @ 09:15
    Fredrik Esseen
    0

    Active application on webserver

    Hi!

    I have a customer that wants an application that continously checks a db table for changes (im not going in to details).

    This is not an Umbraco question but since there are A lot of nice developers here maybe someone could give me a hint :)

    Is it possible to have a web application "live" without a client call? The application needs to perform this check every single minute automatically.

    If not, is it normally allowed to use a "normal" app on a web server..?

     

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Dec 07, 2009 @ 09:30
    Richard Soeteman
    3

    Hi,

    When an umbraco site starts it's using a keepalive page in thats get's refreshed every x seconds. So that keeps your site running. There is also a scheduledTasks feauture that you can configure in umbracoSettings.config.I'm using that for umbImport pro to enable scheduled imports and I'm very happy with that. One downside, when your webserver is rebooted after an update/whatever You have to make sure that your browse to your website again, or wait for a customer/google to do that.

    Hope it helps you,

    Richard

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 07, 2009 @ 09:59
    Dirk De Grave
    0

    Lots of people/companies use a ping service that checks a single/simple page on your site. It checks whether your site is still up and running and can react upon failure (alert/sms/mail/whatever...) before the client even finds out about this...

     

    Cheers,

    /Dirk

  • Fredrik Esseen 610 posts 906 karma points
    Dec 07, 2009 @ 10:00
    Fredrik Esseen
    0

    scheduledTasks sounds excactly what im looking for!

    Ill take a peek at it.

    Thanks for your help!

  • jaygreasley 416 posts 403 karma points
    Dec 07, 2009 @ 11:23
    jaygreasley
    0

    Scheduled task would do but the right way to do it imho is a Windows Service.

  • Fredrik Esseen 610 posts 906 karma points
    Dec 07, 2009 @ 11:38
    Fredrik Esseen
    0

    But what is my possibilities to use a windows service on a web hotel..? I doubt that they allow that?

  • jaygreasley 416 posts 403 karma points
    Dec 07, 2009 @ 13:05
    jaygreasley
    0

    you're right of course, a web hotel probably won't let you so this would only work on a dedicated server.

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Dec 07, 2009 @ 16:40
    Richard Soeteman
    0

    I had the same doubts, when I started to work on the scheduled import functionality for umbImport Pro. So I've created a testsite which imports headlines from a dutch online newspaper. Every hour I get an email that the scheduled task is executed.

    The full archive is online

    Cheers,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft