Example #1
0
def run():

    config = Config('configs.yaml')
    database = Database(config.database)

    controller = Controller()

    while True:
        controller.fill_wall_post_trigger(database)
        controller.fill_comment_trigger(database)

        controller.fill_wall_post_emotion(database)
        controller.fill_comment_emotion(database)

        sleep(60 * 60)