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 make code run automatically on Web Server at specified times

How to make code run automatically on Web Server at specified times

Scheduled Pinned Locked Moved ASP.NET
databasesysadmintutorialquestion
4 Posts 4 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.
  • C Offline
    C Offline
    coolsatty
    wrote on last edited by
    #1

    I want some code to run on a web server at specified times compared to it only running when people visit the website.Basically i want to check the expiry date of the customers which is in database and send mails automatically, So how do i do it.Server is hosted by some third party which holds other sites also.

    coolsatty

    W S E 3 Replies Last reply
    0
    • C coolsatty

      I want some code to run on a web server at specified times compared to it only running when people visit the website.Basically i want to check the expiry date of the customers which is in database and send mails automatically, So how do i do it.Server is hosted by some third party which holds other sites also.

      coolsatty

      W Offline
      W Offline
      wasimsharp
      wrote on last edited by
      #2

      for that you should write a windows service

      wasim khan

      1 Reply Last reply
      0
      • C coolsatty

        I want some code to run on a web server at specified times compared to it only running when people visit the website.Basically i want to check the expiry date of the customers which is in database and send mails automatically, So how do i do it.Server is hosted by some third party which holds other sites also.

        coolsatty

        S Offline
        S Offline
        subai
        wrote on last edited by
        #3

        if you are using sqlserver you can also use jobs and for sending mail use the sql server itself

        I Wish the Life Had CTRL-Z Wizards First Rule : People are fool,they believe what they want to believe or what they afraid to believe www.subaitech.blogspot.com

        1 Reply Last reply
        0
        • C coolsatty

          I want some code to run on a web server at specified times compared to it only running when people visit the website.Basically i want to check the expiry date of the customers which is in database and send mails automatically, So how do i do it.Server is hosted by some third party which holds other sites also.

          coolsatty

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          read this post, looks like what you were after http://forums.asp.net/p/1272455/2409553.aspx

          We are not a Code Charity

          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