Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.
/ devtaskrunner Public archive

A task runner for app engine development (no longer useful as of GAE version 1.3.4)

License

Notifications You must be signed in to change notification settings

maxharp3r/devtaskrunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This package makes it possible to automatically run background tasks in App Engine. This package is compatible with any App Engine framework; it requires modification to app.yaml to wire up a couple of URLs.

There are other packages that run tasks in dev mode, but they are written for Django (http://appengine-cookbook.appspot.com/recipe/automatically-run-tasks-from-task-queue-on-development-sdk/) or they require screen scraping and related dependencies (http://www.gae123.com/articles/gaet/run-tasks.html). Please check out those projects if they sound better suited to your needs.

Dependencies

simplejson (http://pypi.python.org/pypi/simplejson/2.1.1) To install:

easy_install simplejson

To Install

Drop this package somewhere in your app, then add handlers to app.yaml:

- url: /devtaskrunner/.*
  script: path/to/handler.py

To Run Tasks

Note: the development server must be running to execute tasks.

To run all of the currently queued tasks:

python path/to/devtaskrunner/runtasks.py

To periodically check and run all of the queued tasks:

python path/to/devtaskrunner/runtasks.py -r

You can configure things like the url of your dev server, and how often the process should check for new tasks. For more command-line options, run:

python path/to/devtaskrunner/runtasks.py -h

License

Apache 2.0. See the included file called LICENSE for information.

Thanks

http://appengine-cookbook.appspot.com/recipe/automatically-run-tasks-from-task-queue-on-development-sdk/

http://www.gae123.com/articles/gaet/run-tasks.html

About

A task runner for app engine development (no longer useful as of GAE version 1.3.4)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages