spamassassin/sa-update.cronscript

8 lines
150 B
Bash

#!/bin/bash
sleep $(expr $RANDOM % 7200)
echo SpamAssassin rule update begins at `date`
/usr/bin/sa-update
/etc/init.d/spamassassin condrestart
echo