adding prediction and interval to run to tasks
ensuring adding or removing tasks does not interfere with the normal refresh of tasks
storing the last 5 events fired by the scheduler