CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2012
    Posts
    6

    Exclamation scheduling windows 7 sleep and wake up automatically daily

    hello, am new to C# and would like to develop a scheduler in C# which would handle the sleep and wake-up functions in Win7 automatically from the app, like for example wake up daily at 8AM and sleep at 8PM on the same day, and the next day do the wake up again and so on... anyone can help me with finding the codes or a sample app which does this?

  2. #2
    Join Date
    Apr 2010
    Posts
    131

    Re: scheduling windows 7 sleep and wake up automatically daily

    If this is possible (I'm not sure about auto-wake), you would want to use Window's Task Scheduler to actually handle the task. You can manipulate Task Scheduler from C# through an interface. Try Googling "using task scheduler from c-sharp" for more information & direction. Good luck!

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