Skip to content
Discussion options

You must be logged in to vote

Hi @KashifProg

The wis2box-management container has a cronjob that runs the command wis2box api clean once a day.

This commands cleans data from the API-backend (Elasticsearch) and removes data older than the retention-period as well as data in the future (see https://github.com/World-Meteorological-Organization/wis2box/blob/main/wis2box-management/wis2box/api/backend/elastic.py#L400-L434 )

You can run this command manually by logging to the wis2box-management container as follows:

python3 wis2box-ctl.py login
wis2box api clean

kind regards,
Maaike

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@KashifProg
Comment options

@maaikelimper
Comment options

@KashifProg
Comment options

Answer selected by maaikelimper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants