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. Invoke schedule task using .NET program

Invoke schedule task using .NET program

Scheduled Pinned Locked Moved C#
csharptutorialquestion
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.
  • S Offline
    S Offline
    siddisagar
    wrote on last edited by
    #1

    Hi All, How to run the schedule task from .NET application? Thanks in advance.

    D J 2 Replies Last reply
    0
    • S siddisagar

      Hi All, How to run the schedule task from .NET application? Thanks in advance.

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

      You're going to have to be a bit more specific than that. Since we're not sitting right next to you, we can't tell what your eyes were looking at and what your finger was pointing at when you said "How do I run that?" Are you talking about Windows Task Scheduler? Some task in an application? Some task setup on a remote server?

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      S 1 Reply Last reply
      0
      • S siddisagar

        Hi All, How to run the schedule task from .NET application? Thanks in advance.

        J Offline
        J Offline
        Jose Amilcar Casimiro
        wrote on last edited by
        #3

        Take a look at the Task Scheduler API: http://msdn.microsoft.com/en-us/library/aa383614.aspx

        1 Reply Last reply
        0
        • D Dave Kreskowiak

          You're going to have to be a bit more specific than that. Since we're not sitting right next to you, we can't tell what your eyes were looking at and what your finger was pointing at when you said "How do I run that?" Are you talking about Windows Task Scheduler? Some task in an application? Some task setup on a remote server?

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          S Offline
          S Offline
          siddisagar
          wrote on last edited by
          #4

          Hi Dave, I have an exe file which is placed in scheduler Tasks(Control Panel--->Scheduled Tasks). I need to have a dotnet program which should run this scheduler automatically from my program. The above scheduled task is installed on my machine.

          D 1 Reply Last reply
          0
          • S siddisagar

            Hi Dave, I have an exe file which is placed in scheduler Tasks(Control Panel--->Scheduled Tasks). I need to have a dotnet program which should run this scheduler automatically from my program. The above scheduled task is installed on my machine.

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

            There's a bit of a problem. There are TWO Task Schedular APIs. I can't remember the exact deatils, but tasks created in one API cannot be seen in the other. So, if you app uses one API and you can't see the task you want, you'll have to rewrite against the other API.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            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