update the scheduler.py and remove the unused notification