Skip to content

Commit 9bc282e

Browse files
committed
Document --hours argument
1 parent 4261e8d commit 9bc282e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,7 @@ in the dict returned by this method.
267267
##### manage.py delete_old_jobs
268268
There is a management command, `manage.py delete_old_jobs`, which deletes any
269269
jobs from the database which are in state `COMPLETE` or `FAILED` and were
270-
created more than 24 hours ago. This could be run, for example, as a cron task,
271-
to ensure the jobs table remains at a reasonable size.
270+
created more than (by default) 24 hours ago. This could be run, for example, as a cron task, to ensure the jobs table remains at a reasonable size. Use the `--hours` argument to control the age of jobs that will be deleted.
272271

273272
##### manage.py worker
274273
To start a worker:

0 commit comments

Comments
 (0)