From bb5c7050bb554df5f115da540c718a8d86c2a5f4 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Wed, 9 Sep 2015 21:57:15 +0200 Subject: [PATCH] Fixes #6 - Cron tasks: more doc --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 337c03b..b97a954 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,13 @@ To see what commands are available: carton exec script/lutim cron ``` +It is recommended to execute the cron tasks once a day: + +* the statistics task takes a little bit of resources +* the delete IP task can be executed less than once a day. Or more. It exists for legal reasons, so you need to know when you have to delete the sender's IP addresses +* the delete expired files task is here to delete expired files. You can execute it less than once a day: if one asks for an expired image, the image is deleted. This task exists for images that are expired which no one wants to see +* the watch directory's file can be executed more than once a day if you're short on storage. + ### Statistics To generate statistics which can be viewed at the address `/stats` (we need to reload hypnotoad after the stats generation): ```shell