exherbo-dockermail/update-spamlists

12 lines
162 B
Bash
Executable File

#!/bin/bash
set -e
while true; do
if [[ $(date +%H) == 23 ]] ; then
razor-admin -home=/etc/mail/spamassassin/.razor -discover
sa-update
fi
sleep 1h
done