From 7aaeb9389cd0d19d47b0fee46900d5e8d60194f9 Mon Sep 17 00:00:00 2001 From: Martin Polanka Date: Sat, 22 Oct 2016 12:16:16 +0200 Subject: [PATCH] installation --- Worker.md | 6 ++++++ 1 file changed, 6 insertions(+) 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