Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2406 closed enhancement (wontfix)

[patch] new command for management -- runjobs

Reported by: ian@… 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)

runjobs.patch (2.5 KB ) - added by ian@… 18 years ago.
patch to implement the 'runjobs' functionality

Download all attachments as: .zip

Change History (2)

by ian@…, 18 years ago

Attachment: runjobs.patch added

patch to implement the 'runjobs' functionality

comment:1 by Adrian Holovaty, 18 years ago

Resolution: wontfix
Status: newclosed

This is outside the scope of Django.

Note: See TracTickets for help on using tickets.
Back to Top