waves-core icon indicating copy to clipboard operation
waves-core copied to clipboard

old jobs deletion

Open vincent-lefort opened this issue 7 years ago • 2 comments

Is there a way for WAVES to automatically delete old jobs?

vincent-lefort avatar Oct 31 '18 14:10 vincent-lefort

Waves comes with two 'daemonized' django commands ./manage.py wqueue start to load and process job queue ./manage.py wpurge start to purge from time to time the old jobs.

Parameters related to the purge are as follow: 'KEEP_ANONYMOUS_JOBS': 30, 'KEEP_REGISTERED_JOBS': 120,

Related code is located here: https://github.com/lirmm/waves-core/blob/master/waves/wcore/management/commands/wpurge.py and here: https://github.com/lirmm/waves-core/blob/d79e779696215ec90c02e9d310c8d9b979c830c6/waves/wcore/management/runner.py#L148

marcoooo avatar Nov 21 '18 21:11 marcoooo

@vincent-lefort Should I close this one ?

marcoooo avatar Jan 08 '20 22:01 marcoooo