Anderson-Lab / Learn2Mine-Main

2 stars 3 forks source link

Write a script that cleans out old histories #4

Open pauleanderson opened 10 years ago

pauleanderson commented 10 years ago

Need to use the galaxy api and a cron job to clean out old histories.

TomNash commented 10 years ago

Once bioblend API configured, histories deleted immediately.

TomNash commented 10 years ago

Bioblend working locally, able to purge histories and free disk space. Cronjob below commands. Need to set time for testing.

python scripts/cleanup_datasets/cleanup_datasets.py universe_wsgi.ini -d 0 -2 -r > /dev/null 2>&1 python scripts/cleanup_datasets/cleanup_datasets.py universe_wsgi.ini -d 0 -3 -r > /dev/null 2>&1