Révision 20f29eb0
Ajouté par Julien Enselme il y a environ 9 ans
bin/log-report.sh | ||
---|---|---|
1 | 1 |
#!/bin/sh |
2 | 2 |
. /home/assos/bin/scripts-config.sh |
3 |
. /home/assos/.functions |
|
3 | 4 |
|
4 | 5 |
current_day=$(date "+%Y-%m-%d") |
5 | 6 |
log_file="${d7_dir_log}/${current_day}.log" |
6 | 7 |
|
7 |
unlog "${log_file}" --config /home/assos/.unlog --mail-subject "Unlog: ${current_day}" |
|
8 |
my-unlog "${log_file}" --config /home/assos/.unlog --mail-subject "Unlog: ${current_day}" |
Formats disponibles : Unified diff
Unlog: update conf to use the proper SMTP server.
Install unlog in a venv because of new dependancies.
Close #533