2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
12 # 0 13 * * 0 debian-spamd (cd /var/lib/spamassassin; sa-learn -L --sync; cp -a bayes_seen bayes_somexpire.seen; sa-learn -L --backup | grep -v "^s" | tee bayes_somexpire.data.old | grep "^v" > bayes_somexpire.data.new && grep "^t" bayes_somexpire.data.old | sort -k4 -r -n | head -n 9000000 >> bayes_somexpire.data.new && wc -l bayes_somexpire.data.* | grep bayes_somexpire.data && sa-learn -L --dbpath bayes_somexpire --restore bayes_somexpire.data.new && mv bayes_somexpire_toks bayes_toks && mv bayes_somexpire.seen bayes_seen; rm bayes_somexpire*)