Skip to content
Python package to email users and delete old files on IBM's GPFS filesystem
Python Emacs Lisp
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf
docs
gpfsclean
.coveragerc
.dir-locals.el
.gitignore
.pylintrc
LICENSE
README.rst
setup.py
tox.ini

README.rst

GPFSclean

Delete old files and e-mail warnings to users.

In a shared filesystem, it's often necessary to delete old files, but one must warn users sufficiently in advance. Directories are intentionally ignored to preserve ownership, groups, permissions, file access controls, etc.

Production deployment is handled by an Ansible playbook: namely, cloning this git repository, creating the virtalenv, installing the python package, installing the cron job, and configuring log rotation.

To make it easy to run from a cron job, all inputs are stored in a configuration file conf/gpfsclean.conf, including email intervals, delete time, grace time and mailing details. Any changes to conf/gpfsclean.conf, gpfsclean/templates/email.j2, etc should therefore be made in this git repository, and re-run the above ansible playbook to update.

See the full documentation on GitHub.

You can’t perform that action at this time.