Mise à jour de 'README.md'

This commit is contained in:
Christian P. MOMON 2023-02-02 16:30:38 +01:00
parent 89b56c543e
commit 4c2869862f

View file

@ -121,7 +121,12 @@ Generate the metric file for the first time:
Create a cron file to update the metric file everyday: 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. 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.