We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89689c7 commit d50a2fdCopy full SHA for d50a2fd
README.md
@@ -109,6 +109,11 @@ Jobs have a `state` field which can have one of the following values:
109
110
#### Management commands
111
112
+There is a management command, `manage.py delete_old_jobs`, which deletes any
113
+jobs from the database which are in state `COMPLETE` or `FAILED` and were
114
+created more than 24 hours ago. This could be run, for example, as a cron task,
115
+to ensure the jobs table remains at a reasonable size.
116
+
117
For debugging/development purposes, a simple management command is supplied to create jobs:
118
119
manage.py create_job <job_name> --queue_name 'my_queue_name' --workspace '{"key": "value"}'
0 commit comments