Notification from watchface app within a time interval

Use below code snippet to give notification from the watchface app within a certain time period. In this code snippet time interval is set to three minutes.