Skip to content

Commit

Permalink
Document --hours argument
Browse files Browse the repository at this point in the history
  • Loading branch information
j4mie committed Apr 9, 2024
1 parent 4261e8d commit 9bc282e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,7 @@ in the dict returned by this method.
##### manage.py delete_old_jobs
There is a management command, `manage.py delete_old_jobs`, which deletes any
jobs from the database which are in state `COMPLETE` or `FAILED` and were
created more than 24 hours ago. This could be run, for example, as a cron task,
to ensure the jobs table remains at a reasonable size.
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.

##### manage.py worker
To start a worker:
Expand Down

0 comments on commit 9bc282e

Please sign in to comment.