diff --git a/Worker.md b/Worker.md index e7e314c..786dcfb 100644 --- a/Worker.md +++ b/Worker.md @@ -325,5 +325,11 @@ Cleaner is written in **Python** and is used as simple script which just does it There is a bit of catch with cleaner service, to work properly, server filesystem has to have enabled last access timestamp. Cleaner checks these stamps and based on them it decides if file will be deleted or not, simple write timestamp or created at timestamp are not enough to reflect real usage and need of particular file. Last access timestamp feature is a bit controversial (more on this subject can be found [here](https://en.wikipedia.org/wiki/Stat_%28system_call%29#Criticism_of_atime)) and its not by default enabled on conventional filesystems. In linux this can be solved by adding `strictatime` option to `fstab` file. On Windows following command has to be executed (as administrator) `fsutil behavior set disablelastaccess 0`. ### Installation +To install and use the cleaner, it's necessary to have **Python** and **Pip** in version 3 installed. +* Firstly dependencies of cleaner has to be installed: + +``` +pip install -r requirements.txt +``` ### Configuration and usage \ No newline at end of file