def start_agent_service(self, agent_run_method, quiet, fork=True):
        # NOTE:  The config_main.py file relies on it being ok to pass in None for agent_run_method.
        # If this assumption changes, fix that in config_main.py.
        _set_config_path_registry_entry(self.__config_file_path)
        if fork:
            win32serviceutil.StartService(_SCALYR_AGENT_SERVICE_)
        else:
            if agent_run_method:
                agent_run_method(self)

        if not quiet:
            print 'The agent has started.'
Send a time changed event.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_windows.py/WindowsPlatformController.start_agent_service--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/helpers/test_event_decorators.py/TestEventDecoratorHelpers._send_time_changed