I used C#/Mono to schedule a notification with NSUserNotificationCenter
like so:
var not = new NSUserNotification();
not.Title = ...;
not.DeliveryDate = ...;
not.DeliveryRepeatInterval = new NSDateComponents() {
Second = 65
};
...
NSUserNotificationCenter.DefaultUserNotificationCenter
.ScheduleNotification(not);
This worked as intended. An initial notification appeared and then after a 65sec delay the next one and then the next one etc.
But: After I quit the application the notifications kept appearing! And they still do.
I deleted the application and emptied the trash can. I restarted my Mac. I switched notifications for the application on/off in settings/notification center. All to no avail.
I followed advice to delete SQLite notification databases down in the belly of OSX Sierra. There were only old .db files. Nothing changed.
Neither can I remove the application from the notification center, nor can I stop the scheduled notifications.
What else can I do?
PS: To be precise: I checked this posting, but nothing from there worked.