# Path: handlers/tasks.py
# class UpdateRanksHandler(webapp.RequestHandler):
# class UpdateKeywordSearchEngineRanksHandler(webapp.RequestHandler):
# class DeleteSitesHandler(webapp.RequestHandler):
# class DeleteKeywordsHandler(webapp.RequestHandler):
# class DeleteKeywordSearchEnginesHandler(webapp.RequestHandler):
# class DeleteKeywordRankLogsHandler(webapp.RequestHandler):
# class DeleteOldLogsHandler(webapp.RequestHandler):
# class DeleteInactiveAccountsHandler(webapp.RequestHandler):
#     def get(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def update_trx(self, kw_se, result):
#     def post(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def get(self, *ar, **kw):
#     def post(self,  *ar, **kw):
#     def get(self, *ar, **kw):
#     def post(self,  *ar, **kw):


from google.appengine.dist import use_library
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from handlers import tasks
import os
#
# This file is part of SEO Ranking Engine.
#
# SEO Ranking Engine is free  software: you can redistribute it and/or
# modify it under  the terms of the GNU  Lesser General Public License
# as published  by the Free  Software Foundation, either version  3 of
# the License, or (at your option) any later version.
#
# SEO  Ranking Engine  is  distributed in  the  hope that  it will  be
# useful, but WITHOUT ANY  WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with SEO Ranking Engine.  If not, see
# <http://www.gnu.org/licenses/>.

use_library('django', '1.2')




def main():
    application = webapp.WSGIApplication([('/tasks/update_ranks', tasks.UpdateRanksHandler),
                                          ('/tasks/update_keyword_se_rank', tasks.UpdateKeywordSearchEngineRanksHandler),
                                          ('/tasks/delete/sites', tasks.DeleteSitesHandler),
                                          ('/tasks/delete/old_logs', tasks.DeleteOldLogsHandler),
                                          ('/tasks/delete/inactive_accounts', tasks.DeleteInactiveAccountsHandler),
                                          ('/tasks/delete/keywords', tasks.DeleteKeywordsHandler),
                                          ('/tasks/delete/keyword_search_engines', tasks.DeleteKeywordSearchEnginesHandler),

# Path: handlers/tasks.py
# class UpdateRanksHandler(webapp.RequestHandler):
# class UpdateKeywordSearchEngineRanksHandler(webapp.RequestHandler):
# class DeleteSitesHandler(webapp.RequestHandler):
# class DeleteKeywordsHandler(webapp.RequestHandler):
# class DeleteKeywordSearchEnginesHandler(webapp.RequestHandler):
# class DeleteKeywordRankLogsHandler(webapp.RequestHandler):
# class DeleteOldLogsHandler(webapp.RequestHandler):
# class DeleteInactiveAccountsHandler(webapp.RequestHandler):
#     def get(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def update_trx(self, kw_se, result):
#     def post(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def post(self, *ar, **kw):
#     def get(self, *ar, **kw):
#     def post(self,  *ar, **kw):
#     def get(self, *ar, **kw):
#     def post(self,  *ar, **kw):


# Path: tasks.py
from google.appengine.dist import use_library
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from handlers import tasks
import os

#
# This file is part of SEO Ranking Engine.
#
# SEO Ranking Engine is free  software: you can redistribute it and/or
# modify it under  the terms of the GNU  Lesser General Public License
# as published  by the Free  Software Foundation, either version  3 of
# the License, or (at your option) any later version.
#
# SEO  Ranking Engine  is  distributed in  the  hope that  it will  be
# useful, but WITHOUT ANY  WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with SEO Ranking Engine.  If not, see
# <http://www.gnu.org/licenses/>.

use_library('django', '1.2')




def main():
    application = webapp.WSGIApplication([('/tasks/update_ranks', tasks.UpdateRanksHandler),
                                          ('/tasks/update_keyword_se_rank', tasks.UpdateKeywordSearchEngineRanksHandler),
                                          ('/tasks/delete/sites', tasks.DeleteSitesHandler),
                                          ('/tasks/delete/old_logs', tasks.DeleteOldLogsHandler),
                                          ('/tasks/delete/inactive_accounts', tasks.DeleteInactiveAccountsHandler),
                                          ('/tasks/delete/keywords', tasks.DeleteKeywordsHandler),
                                          ('/tasks/delete/keyword_search_engines', tasks.DeleteKeywordSearchEnginesHandler),

                                          ('/tasks/delete/keyword_rank_logs', tasks.DeleteKeywordRankLogsHandler)],