I'm curios to know if the update is included int he ART package which is mentioned in the wiki.
I'm asking because its stated at the beginning but I can't find this crontab.
Thanks
The ART spamassassin package already does this, if you are not using our RPMs then you will need to setup updates manually.
https://www.atomicorp.com/wiki/index.php/Spamassassin
5. (Optional) Setup spamassassin updates in your root crontab
You can also setup your system to do this automatically and safely. Using crontab and the example commands below will setup sa-update to download update and only when an update is downloaded and is sucessful will the system recompile and restart spamassassin. If there are any errors spamassasin will not be restarted and the system will continue to function normally and safely.
Run this command as root to setup the crontab:
crontab -e
Then add the line below:
<MINUTE> <HOUR> * * * sa-update --allowplugins --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com --channel updates.spamassassin.org && TMP=/root/tmp; export TMP; TMPDIR=$TMP; export TMPDIR; /usr/bin/sa-compile && /etc/init.d/spamassassin condrestart 1> /dev/null
And change <MINUTE> and <HOUR> to numerical values representing the time when you want the update to run, 13 2 for example would be 2:13 AM. Pick your own time so that you are not running your updates at the same time as everyone else (or all of your boxes).