waves-core
waves-core copied to clipboard
old jobs deletion
Is there a way for WAVES to automatically delete old jobs?
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
@vincent-lefort Should I close this one ?