root / bin / log-report.sh @ 1aa883a3
1 | 5a1949a4 | Julien Enselme | #!/bin/sh |
---|---|---|---|
2 | . /home/assos/bin/scripts-config.sh |
||
3 | 20f29eb0 | Julien Enselme | . /home/assos/.functions |
4 | 5a1949a4 | Julien Enselme | |
5 | current_day=$(date "+%Y-%m-%d") |
||
6 | log_file="${d7_dir_log}/${current_day}.log" |
||
7 | |||
8 | 653aeb8e | Julien Enselme | # We use the function my-unlog to activate the virtualenv and then correctly |
9 | # use unlog in it. |
||
10 | 20f29eb0 | Julien Enselme | my-unlog "${log_file}" --config /home/assos/.unlog --mail-subject "Unlog: ${current_day}" |