#!/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