Task scheduler

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sid Price

    #1

    Task scheduler

    Is there a .NET (2003) class available somewhere that might provide a
    comprehensive task scheduler with a better granularity than the one minute
    of the built-in scheduler on XP? Even down to 15 seconds would be better
    than one minute.

    Sid.


  • Rad [Visual C# MVP]

    #2
    Re: Task scheduler

    On Fri, 9 Mar 2007 18:45:36 -0700, Sid Price wrote:
    Is there a .NET (2003) class available somewhere that might provide a
    comprehensive task scheduler with a better granularity than the one minute
    of the built-in scheduler on XP? Even down to 15 seconds would be better
    than one minute.
    >
    Sid.
    Have a look at System.Threadin g.Timer. You can create a timer to run code
    at specified intervals
    --
    Bits.Bytes

    Comment

    • Sid Price

      #3
      Re: Task scheduler


      "Rad [Visual C# MVP]" <nospam@nospam. comwrote in message
      news:1ssj1wa3ft y76.dlg@thinker sroom.com...
      Sid.
      >
      Have a look at System.Threadin g.Timer. You can create a timer to run code
      at specified intervals

      Yes I am aware of that, however I need to have functionality and a UI that
      is similar to the Task Scheduler. It seems such a waste of effort to write
      that same code myself so the user can select schedules just like they do
      with the built-in scheduler.

      There is a project on the Code Project that offers a .NET wrapper class for
      programmatic access to the Task Scheduler, however it has the same
      resolution/granularity issues since the scheduling is done with the built-in
      scheduler.

      Thanks,
      Sid.


      Comment

      • Spam Catcher

        #4
        Re: Task scheduler

        "Sid Price" <sid@nowhere.co mwrote in
        news:OV30aozYHH A.3656@TK2MSFTN GP05.phx.gbl:
        Yes I am aware of that, however I need to have functionality and a UI
        that is similar to the Task Scheduler. It seems such a waste of effort
        to write that same code myself so the user can select schedules just
        like they do with the built-in scheduler.
        >
        There is a project on the Code Project that offers a .NET wrapper
        class for programmatic access to the Task Scheduler, however it has
        the same resolution/granularity issues since the scheduling is done
        with the built-in scheduler.
        The task scheduler was not meant to be run continously - if that is the
        case, what you want is a service.

        Yes, it's a bit of a hassle to rebuild the task scheduler GUI, but perhaps
        you can customize and simplify it for your application needs?

        Comment

        • PFC Sadr

          #5
          Re: Task scheduler

          or you could just use SQL Agent Service-- this is included with MSDE;
          and it allows you to run things on a scheduled basis... it's actually
          really really powerful and it's free

          but SQL 2005 Express doesn't have anything similiar
          and since those dipshits wouldn't allow MSDE 2.0 to run on Vista;
          you've got like _NO_UPGRADE_PAT H_

          sorry but M$ took a crap on us 'Developers, Developers, Developers'
          yet again
          sorry but M$ took a crap on us 'Developers, Developers, Developers'
          yet again
          sorry but M$ took a crap on us 'Developers, Developers, Developers'
          yet again





          On Mar 10, 1:47 pm, Spam Catcher <spamhoney...@r ogers.comwrote:
          "Sid Price" <s...@nowhere.c omwrote innews:OV30aozY HHA.3656@TK2MSF TNGP05.phx.gbl:
          >
          Yes I am aware of that, however I need to have functionality and a UI
          that is similar to the Task Scheduler. It seems such a waste of effort
          to write that same code myself so the user can select schedules just
          like they do with the built-in scheduler.
          >
          There is a project on the Code Project that offers a .NET wrapper
          class for programmatic access to the Task Scheduler, however it has
          the same resolution/granularity issues since the scheduling is done
          with the built-in scheduler.
          >
          The task scheduler was not meant to be run continously - if that is the
          case, what you want is a service.
          >
          Yes, it's a bit of a hassle to rebuild the task scheduler GUI, but perhaps
          you can customize and simplify it for your application needs?

          Comment

          Working...