'Restart a paused script. This WILL call the `at_start()` hook.
Args:
manual_unpause (bool, optional): This is False if unpause is
called by the server reload/reset mechanism.
Returns:
result (bool): True if unpause was triggered, False otherwise.
Raises:
RuntimeError: If trying to automatically resart this script
(usually after a reset/reload), but it was manually paused,
and so should not the auto-unpaused.'

def unpause(self, manual_unpause=True):

    if ((not manual_unpause) and self.db._manual_pause):
        raise RuntimeError
    self.db._manual_pause = False
    if self.db._paused_time:
        self.is_active = True
        try:
            self.at_start()
        except Exception:
            logger.log_trace()
        self._start_task()
        return True
