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. General Programming
  3. C#
  4. how to write a script which canrun my dot net exe at regular interval

how to write a script which canrun my dot net exe at regular interval

Scheduled Pinned Locked Moved C#
csharpdatabasesql-serversysadmintools
3 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.
  • P Offline
    P Offline
    Puneet Bhatnagar
    wrote on last edited by
    #1

    Hi, i want to write a script which can run my dot net exe at regular interval, without manual intervention. Please help me as I am very new to this kind of work. Is it possible to write such a program in dot net itself? I am using the following: Platform: Windows XP framework: .net 2005, language: C# back end - Sql Server 2005. Thanks in Advance for your help!! With Regards Puneet

    M A 2 Replies Last reply
    0
    • P Puneet Bhatnagar

      Hi, i want to write a script which can run my dot net exe at regular interval, without manual intervention. Please help me as I am very new to this kind of work. Is it possible to write such a program in dot net itself? I am using the following: Platform: Windows XP framework: .net 2005, language: C# back end - Sql Server 2005. Thanks in Advance for your help!! With Regards Puneet

      M Offline
      M Offline
      Michel Godfroid
      wrote on last edited by
      #2

      Why write a script? Windows XP has a perfectly good task scheduler. Haven't got any XP machines around anymore, but you should be able to find it somewhere in administrative tools or the control panel.

      1 Reply Last reply
      0
      • P Puneet Bhatnagar

        Hi, i want to write a script which can run my dot net exe at regular interval, without manual intervention. Please help me as I am very new to this kind of work. Is it possible to write such a program in dot net itself? I am using the following: Platform: Windows XP framework: .net 2005, language: C# back end - Sql Server 2005. Thanks in Advance for your help!! With Regards Puneet

        A Offline
        A Offline
        Ankur m
        wrote on last edited by
        #3

        Puneet Bhatnagar wrote:

        i want to write a script which can run my dot net exe at regular interval, without manual intervention

        As the other responder suggested, Use Task Scheduler to run it every particular interval of time. Start-> Programs-> Accessories-> System Tools-> Scheduled Tasks.

        Puneet Bhatnagar wrote:

        Is it possible to write such a program in dot net itself?

        You need to develop a windows service to do that. (Now that you have written the code, it won't take much time to develop the windows service application). More information: Here[^]! Or search Google/Bing for "Windows Service", there are lots of articles.

        ..Go Green..

        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