C# How can I trigger an event at a specific time of day?

后端 未结 6 502
走了就别回头了
走了就别回头了 2021-01-03 04:59

I\'m working on a program that will need to delete a folder (and then re-instantiate it) at a certain hour of the day, and this hour will be given by the user.

The h

6条回答
  •  耶瑟儿~
    2021-01-03 05:17

    The programmatic interface for Scheduled Task is COM-based, so it should be relatively easy to use it from .NET (though I've never tried myself).

提交回复
热议问题