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