def UnscheduleTasks(CurSched):
    """
	Unschedule every task for every modules.
	"""
    for Mod, TaskList in CurSched.items():
        for T in TaskList:
            if T:
                T.UnSchedule()
    return CurSched
