Add loop function and notifications on upcoming tasks about to epxire