def run_hourly():
        hour = datetime.datetime.now().hour
        # Current hour

        logger.info("Running hourly")
        plugins = loaded_plugins.enabled_plugins()

        hourly_plugins = plugins.get("hourly")
        for plugin in hourly_plugins:
            try:
                hour = 1
                plugin.run_hourly(hour)
            except Exception, e:
                logger.exception("Exception running hourly: %s" % (plugin))
dataset/ETHPy150Open SalesforceEng/Providence/providence.py/run_hourly/original