Issue #1708: modify pauseSchedulerAndActions to pause and resumeSchedulerAndActions to resume

modify pauseSchedulerAndActions to pause and resumeSchedulerAndActions to resume