1552,6 → 1552,8 |
expand-hosts |
bogus-priv |
filterwin2k |
log-queries |
log-facility=/var/log/dnsmasq/dnsmasq-blacklist.log |
server=$DNS1 |
server=$DNS2 |
EOF |
1718,10 → 1720,12 |
# 'alcasar-monthly_tot_stat' (everyday at 01h05 pm) : aggregating the monthly connections of users (write in table 'mtotacct') |
# 'alcasar-truncate_raddact' (every month, the first at 01h10 pm) : removing the log sessions of users older than 365 days |
# 'alcasar-clean_radacct' (every month, the first at 01h15 pm) : closing the sessions openned for more than 30 days |
# 'alcasar-activity_report.sh' (every sunday at 5h35 pm) : generate an activity report in PDF |
1 1 * * * root $DIR_DEST_BIN/alcasar-tot_stats > /dev/null 2>&1 |
5 1 * * * root $DIR_DEST_BIN/alcasar-monthly_tot_stats > /dev/null 2>&1 |
10 1 1 * * root $DIR_DEST_BIN/alcasar-truncate_radacct > /dev/null 2>&1 |
15 1 1 * * root $DIR_DEST_BIN/alcasar-clean_radacct > /dev/null 2>&1 |
35 5 * * 0 root $DIR_DEST_BIN/alcasar-activity_report.sh > /dev/null 2>&1 |
EOF |
cat << EOF > /etc/cron.d/alcasar-watchdog |
# run the "watchdog" every 3' |