Automatically expiring TODO notes (Python port of do_by)