Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to implement an automatic task in asp.net

How to implement an automatic task in asp.net

Scheduled Pinned Locked Moved ASP.NET
tutorialcsharpasp-net
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TRAORE cheickna
    wrote on last edited by
    #1

    Hello, Into my asp.net application i want to create a task to do something at some hour, for example twice a day i.e 6:00 PM and 10:00 PM I think about web service but i don't know if this is the best method. Have you any suggestions about this subject. thank's in advance

    P N 2 Replies Last reply
    0
    • T TRAORE cheickna

      Hello, Into my asp.net application i want to create a task to do something at some hour, for example twice a day i.e 6:00 PM and 10:00 PM I think about web service but i don't know if this is the best method. Have you any suggestions about this subject. thank's in advance

      P Offline
      P Offline
      Philippe Mori
      wrote on last edited by
      #2

      In my case, my ISP was providing that service so I only have to indicate which page to execute and when. We are using ISQ Solutions.

      Philippe Mori

      T 1 Reply Last reply
      0
      • P Philippe Mori

        In my case, my ISP was providing that service so I only have to indicate which page to execute and when. We are using ISQ Solutions.

        Philippe Mori

        T Offline
        T Offline
        TRAORE cheickna
        wrote on last edited by
        #3

        Bonjour Philippe, Thank's for your reply, have you some link about this technic (ISQ Solutions) i never use it nor hear from it. Thanks

        P 1 Reply Last reply
        0
        • T TRAORE cheickna

          Bonjour Philippe, Thank's for your reply, have you some link about this technic (ISQ Solutions) i never use it nor hear from it. Thanks

          P Offline
          P Offline
          Philippe Mori
          wrote on last edited by
          #4

          ISQ Solutions[^] is hosting provider. With them, we can create tasks that are executed up to 12 times per hour. A task is simply a web page address that should be called. You can then implement your task when that page is asked. I don't know if this is common on host providers to provide such service. We select them first and they have that so I have used that. If you were running your own server, I think it would be very easy to implement task anyway you want but on shared hosting, you have to do with what you have...

          Philippe Mori

          1 Reply Last reply
          0
          • T TRAORE cheickna

            Hello, Into my asp.net application i want to create a task to do something at some hour, for example twice a day i.e 6:00 PM and 10:00 PM I think about web service but i don't know if this is the best method. Have you any suggestions about this subject. thank's in advance

            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            ASP.NET is request based, nothing happens until a request has been made from a client, so there is no automatic mechanism. You would need to create a Windows Service or use Scheduled Tasks on the server. Or do the same thing on a client machine that may call a webservice on your server.


            No comment

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups