website_checks issueshttps://gitlab.mbb.univ-montp2.fr/remy/website_checks/-/issues2020-01-10T15:54:31Zhttps://gitlab.mbb.univ-montp2.fr/remy/website_checks/-/issues/1adding output with timestamp for all reports2020-01-10T15:54:31Zremyadding output with timestamp for all reportsActually, `check_urls.sh` is returning `.log` and `.json` files. These files should be kept in workdir, except when the `init` argument is used. Then, to be able to keep the history of scans, adding a timestamp before the filename would ...Actually, `check_urls.sh` is returning `.log` and `.json` files. These files should be kept in workdir, except when the `init` argument is used. Then, to be able to keep the history of scans, adding a timestamp before the filename would be useful. Eg : `YYYYMMDD_hhmm_<result_name>.{log,json}`.
Same behaviour should be used for check_certs.sh
Actually, it just produces output on stdout.
However, for users who wish to use it through a daemon, it would be more suitable to write results in /var/log in a single file for each script (not a new file for each analyses)...
Another option would be to store results in a json compliant database, like elasticsearch or MongoDB, but it seems to be a bit overkill for now...remyremy