How to set an Alarm or Reminder events in Windows 8?

六眼飞鱼酱① 提交于 2019-12-11 04:48:41

问题


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?


回答1:


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.

  • 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.



来源:https://stackoverflow.com/questions/12731994/how-to-set-an-alarm-or-reminder-events-in-windows-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!