"""Cron and task routings."""

from .update_gplus import TaskNewGplus
from .update_gplus import CronNewGplus
from .update_gplus import CronNewUserGplus

from .update_gplus import TaskUpdateGplus
from .update_gplus import CronUpdateGplus

from .admin_tasks import TaskCalcImpact

from .so_tasks import TaskHarvestSO
from .so_tasks import CronHarvestSO

# from .update_blogger_metrics import TaskUpdBlogger
# from .update_blogger_metrics import CronUpdBlogger

import webapp2

app = webapp2.WSGIApplication([('/crons/new_gplus', CronNewGplus),
                               ('/crons/new_gplus_user', CronNewUserGplus),
                               ('/tasks/new_gplus', TaskNewGplus),
                               ('/crons/upd_gplus', CronUpdateGplus),
                               ('/tasks/upd_gplus', TaskUpdateGplus),
                               ('/crons/harvest_so', CronHarvestSO),
                               ('/tasks/harvest_so', TaskHarvestSO),
                               ('/tasks/calc_impact', TaskCalcImpact),
                               # ('/crons/upd_blogger', CronUpdBlogger),
                               # ('/tasks/upd_blogger', TaskUpdBlogger),
                               ], debug=True)
