CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2003
    Location
    Pakistan
    Posts
    223

    Best technique for task scheduling

    Now a days i am working on a software , which will run a specific scheduled tasks at certain time.What should be the technique to develop this software.
    One obviouse way is using Timers , but is there some built in notifications by windows.

    My chedule may be like this

    Task1 12:30:30 PM 7July 2004
    Task2 2:30:30 PM 7July 2004
    Task3 1:30:30 AM 8July 2004
    Task4 12:30:30 PM 8July 2004

    etc.
    Unmanaged in a .NET world

  2. #2
    Join Date
    Sep 2002
    Location
    14° 39'19.65"N / 121° 1'44.34"E
    Posts
    9,815
    Waitable timers can be used for that. Have a look at CreateWaitableTimer(), SetWaitableTimer() & co.

  3. #3
    Join Date
    Dec 2003
    Location
    Sofia, Bulgaria
    Posts
    85
    On the other end of the scale, you can have a look at the Task Scheduler Service.
    Boris Karadjov
    Brainbench MVP for Visual C++
    http://www.brainbench.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured