lirmm / waves-core

WAVES is a reusable web application dedicated to bioinformatic tool integration

Home Page:https://waves-core.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

old jobs deletion

vincent-lefort opened this issue · comments

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:

class PurgeDaemon(BaseRunDaemon):

@vincent-lefort Should I close this one ?