#2406 closed enhancement (wontfix)
[patch] new command for management -- runjobs
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
some of my applications require maintenance tasks run on them at defined periods,
to do things like emailing out reminders, archiving and things like that.
so instead of creating a whole slew of cronjobs, and then providing install instructions etc etc etc for each one,
I thought running a single command might be better, and could possibly become part of the default django install instructions
$ django-admin runjobs daily
would run all the scheduled 'daily' jobs that the apps have defined.
The would define this by listening for the run_daily_jobs signal in their management.py file.
Attachments (1)
Change History (2)
by , 19 years ago
| Attachment: | runjobs.patch added |
|---|
comment:1 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
This is outside the scope of Django.
patch to implement the 'runjobs' functionality