Share via

电池容量达到指定水平时,运行指定程序,通过taskschd.msc

lee lee 0 Reputation points
2023-11-23T14:01:54.96+00:00

Help,i dont know how to set ,what i set in taskschd.msc,XD

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other

1 answer

Sort by: Most helpful
  1. Tong Xu - MSFT 2,546 Reputation points Microsoft External Staff
    2023-11-24T07:13:05.59+00:00

    Hi, @lee lee
    Welcome to Microsoft Q&A!

    You can open the scheduled tasks explorer with this command by cmd:

    control schedtasks
    

    Please check this doc: Triggers and Actions

    Occurrences that can trigger a task to run include: a computer starting up, a computer entering an idle state, or a user unlocking a workstation. In addition, you can schedule a task to run at a specified time.

    More details:
    https://learn.microsoft.com/zh-cn/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/cc721871(v=ws.11)

    https://learn.microsoft.com/zh-cn/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/cc721931(v=ws.10)

    Thank you.
    Tong


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our [documentation][2] to enable e-mail notifications if you want to receive the related email notification for this thread. [2]: https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.