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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Runs a process at a time of day, on Sever Application

Runs a process at a time of day, on Sever Application

Scheduled Pinned Locked Moved .NET (Core and Framework)
sysadminhelp
4 Posts 4 Posters 1 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.
  • D Offline
    D Offline
    DavidRRR
    wrote on last edited by
    #1

    Hi. I need to do a server application, which runs a process at a time of day, in c #. is possible to make a web application or other wich do that... I can not touch more than the web application server please help thank you very much

    D S N 3 Replies Last reply
    0
    • D DavidRRR

      Hi. I need to do a server application, which runs a process at a time of day, in c #. is possible to make a web application or other wich do that... I can not touch more than the web application server please help thank you very much

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Then you have a severe problem. If all you can make is a web app, there is nothing that will trigger the app to run. Depending on requirements, this is normally a Console or Windows Forms app that you launch using the Windows Task Scheduler. You could also write a service that does this. A web app is not suitable for a task that has to be launched at a certain time.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      1 Reply Last reply
      0
      • D DavidRRR

        Hi. I need to do a server application, which runs a process at a time of day, in c #. is possible to make a web application or other wich do that... I can not touch more than the web application server please help thank you very much

        S Offline
        S Offline
        Super Lloyd
        wrote on last edited by
        #3

        How about a Windows Service? Here is the base class to subclass: http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicebase.aspx[^]

        A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

        1 Reply Last reply
        0
        • D DavidRRR

          Hi. I need to do a server application, which runs a process at a time of day, in c #. is possible to make a web application or other wich do that... I can not touch more than the web application server please help thank you very much

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

          You can make an exe and create a task that runs it a specific time of day.


          I know the language. I've read a book. - _Madmatt

          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