https://github.com/bbb/django-poormanscron
Forked from http://code.google.com/p/django-poormanscron/
https://github.com/bbb/django-poormanscron
Last synced: 10 months ago
JSON representation
Forked from http://code.google.com/p/django-poormanscron/
- Host: GitHub
- URL: https://github.com/bbb/django-poormanscron
- Owner: BBB
- Created: 2012-05-10T09:09:13.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2015-08-20T17:18:01.000Z (almost 11 years ago)
- Last Synced: 2025-09-27T18:02:18.936Z (10 months ago)
- Language: Python
- Size: 105 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Django Poor Man's Cron is Django app which makes use of spambots, search engine indexing robots and alike to run scheduled tasks in approximately regular intervals.
This app isn't meant to be a fully-featured project, but rather a modifiable experimental concept.
To install the app, do the following:
+ Check it out and put it somewhere under python path.
+ Add the app to INSTALLED_APPS and its PoorMansCronMiddleware class to MIDDLEWARE_CLASSES in your project settings.
+ Run python manage.py syncdb to update the DB schema.
+ Create management commands for scheduled tasks (probably you can also use Django Command Extensions).
+ Create ScheduledTask objects in Django administration.
INSTALLED_APPS = (
# ...
"poormanscron",
)
MIDDLEWARE_CLASSES = (
# ...
"poormanscron.middleware.PoorMansCronMiddleware",
)
The included initial_data fixture serves as an example where "cleanup" command is called every day after 3 am.