Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2406 closed enhancement (wontfix)

[patch] new command for management -- runjobs

Reported by: ian@… Owned by: adrian
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@… 8 years ago.
patch to implement the 'runjobs' functionality

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by ian@…

patch to implement the 'runjobs' functionality

comment:1 Changed 8 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed

This is outside the scope of Django.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.