Skip to content

localnotification schedule

Matthias Görges edited this page Oct 16, 2016 · 5 revisions

#(localnotification-schedule str time . repeataftermin) localnotification-schedule schedule one new local notification, which optionally is repeating.

Parameter Description
str Notification text
time Time (Unix epoch) value of scheduled notification
repeataftermin Optional: Repetition interval in minutes

Example

Example 1: Schedule a Tea timer to alert in 5min

(set! teanotification-id (localnotification-schedule "Your tea is ready."
  (fl+ ##now 300.)))
Clone this wiki locally