Opened 10 years ago

Closed 10 years ago

Last modified 10 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: UI/UX:

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@… 10 years ago.
patch to implement the 'runjobs' functionality

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by ian@…

Attachment: runjobs.patch added

patch to implement the 'runjobs' functionality

comment:1 Changed 10 years ago by Adrian Holovaty

Resolution: wontfix
Status: newclosed

This is outside the scope of Django.

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