Click here to Skip to main content
15,890,412 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing the project at C#.net windows application in that I need to read the next schedule time from my schedule file, if there is no schedule for next one hour, my system need not to wake on until next schedule time reach which is defined in schedule file. My system needs to shutdown, and before shutdown it need to set the timer for system wake. How to set the system ONTime before shutdown my pc.
I did this same in linux system through python script by writing the system on time at code /sys/class/rtc/rtc0/wakealaram location. I just write the next system on time at this location and shutdown the system, the system can be automatically on by reach the time which is given in wakealaram file. I need to do the same in windows system by using c#.
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900