From 4c2869862f15012dd45d37ce767260220c093af8 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 2 Feb 2023 16:30:38 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 242ebbc..973faef 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,12 @@ Generate the metric file for the first time: Create a cron file to update the metric file everyday: ``` -1 * * * * root /srv/statoolinfos/bin/probe -previousday /srv/statoolinfos/conf/foo.bar.org.conf +1 * * * * root /srv/statoolinfos/bin/statoolinfos probe -previousday /srv/statoolinfos/conf/foo.bar.org.conf +``` + +In case of several configuration files, just set the configuration directory (without wildcard): +``` +1 * * * * root /srv/statoolinfos/bin/statoolinfos probe -previousday /srv/statoolinfos/conf/ ``` Warning: in previous day mode, the metrics generated are overwrited for the last month, the last week and the last day. So, six weeks in logs are required.