Task are checked for pending events in the following precendence
1) If the task is completed
If recurrence
True: clear the completed and schedule the next event
False: done
2) If next occurence set
If it's before now, post event
If early notification is before now, post notification
Check for pending
3) It's not done, they didn't set when to do it, and it's never been
worked on before: it's ready to be worked on now.