如何在 Windows 8 中设置闹钟或提醒事件? [英] How to set an Alarm or Reminder events in Windows 8?
问题描述
我们在 Windows 8 中是否有一个功能,我可以在其中设置闹钟或提醒(重复!!)然后忘记它(操作系统会完成其余的工作)?还是我需要创建一个后台任务来完成这项工作?
Do we have a functionality in Windows 8 where I can set an Alarm or a Reminder (with recurrence!!) and forget about it (and the OS will do the rest)? Or do I need to create a background task to do the work?
安排一个事件并不难,但我不想安排一整套重复事件.
It is not hard to schedule one event but I would not want to schedule a whole set of recurrence events.
日历已经在做了,可以绑定这个机制吗?
The calendar is already doing it, can I tie into this mechanism?
推荐答案
您可以使用 预定通知 但其中有 4096 个的限制,因此对于重复任务的建议是使用 MaintenanceTrigger.需要注意的几点:
You can use Scheduled Notifications but there's a limit of 4096 of those, so the recommendation for a recurring task would be to use a MaintenanceTrigger. A couple of things to be aware of:
如果使用电池电源,维护触发器将不会触发,但是通知被缓冲,所以当你再次插入时,你会接收它们.
A maintenance trigger will NOT fire if on battery power, but the notifications are buffered so when you're plugged in again you'll receive them.
freshnessTime被触发的实际通知,所以请记住这一点调度条款.例如,如果您将通知设置为发生在中午,可能要到 12:14:59 才会出现.
There's up to a 15 minute window from the freshnessTime in terms of the actual notification being triggered, so keep that in mind in terms of scheduling. For instance, if you set a notification to occur at noon, it might not hit until 12:14:59.
这篇关于如何在 Windows 8 中设置闹钟或提醒事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!