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. automatic action

automatic action

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netregexhelpquestion
4 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.
  • R Offline
    R Offline
    Ritwik Sanyal
    wrote on last edited by
    #1

    Hello All! In almost all the job sites we can see an intersting mechanism - when ever a suitable job for a candidate is found it is automatically emailed to the candidate, that is it automatically checks the jobs that have been arrived, match the profile of the job with the profile of the candidate and if the profile matches it is automatically emailed to the candidate. How is it possible to execute a particular code automatically at a certain interval of time in ASP.NET? Please help. Thanks in advance.

    B 1 Reply Last reply
    0
    • R Ritwik Sanyal

      Hello All! In almost all the job sites we can see an intersting mechanism - when ever a suitable job for a candidate is found it is automatically emailed to the candidate, that is it automatically checks the jobs that have been arrived, match the profile of the job with the profile of the candidate and if the profile matches it is automatically emailed to the candidate. How is it possible to execute a particular code automatically at a certain interval of time in ASP.NET? Please help. Thanks in advance.

      B Offline
      B Offline
      Bill Dean
      wrote on last edited by
      #2

      Hello, I do not know of a way to do this through ASP.NET...at least nothing that will scale well. But there are some other fairly simple way to do it: 1) put the code that you want automated into a console app. And use window's scheduled tasks to run the console app at regular intervals. 2) build a window app with a timer. Then use the timer to trigger the code. 3) (harder) build a windows service with a timer. Which is best depends a lot on the specifics of your situation... Hope this helps, Bill

      N 1 Reply Last reply
      0
      • B Bill Dean

        Hello, I do not know of a way to do this through ASP.NET...at least nothing that will scale well. But there are some other fairly simple way to do it: 1) put the code that you want automated into a console app. And use window's scheduled tasks to run the console app at regular intervals. 2) build a window app with a timer. Then use the timer to trigger the code. 3) (harder) build a windows service with a timer. Which is best depends a lot on the specifics of your situation... Hope this helps, Bill

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

        Use SQL Server notification also. With ASP.NET it could simply be checking when the info is submitted for any matches.

        B 1 Reply Last reply
        0
        • N Not Active

          Use SQL Server notification also. With ASP.NET it could simply be checking when the info is submitted for any matches.

          B Offline
          B Offline
          Bill Dean
          wrote on last edited by
          #4

          Cool! I've never used sql notifications...can you point me to a reference? Thanks, Bill

          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