On Tuesday, October 7, 2014, 10:56:54 PM, LuKreme wrote: > On 07 Oct 2014, at 11:45 , Jari Fredrisson <ja...@iki.fi> wrote: >> I ran sa-update & sa-compile.
> Should sa-compile be run after sa-update? > I have a crontab entry: > 16 1 * * * /usr/local/bin/sa-update && > /usr/local/etc/rc.d/sa-spamd restart > should I add an sa-compile call? I am on FreeBSD here. This is what I use: Content of sa_update.sh: #!/bin/sh /usr/local/bin/sa-update -D --nogpg if [ $? -eq 0 ] ; then /usr/local/bin/sa-compile /usr/local/etc/rc.d/sa-spamd restart exit 0 else exit 0 fi This way, sa-compile is ran and spamd is restarted only when there is an update. I then use the script in a cron which runs once per day. I believe the way you have it, spamd will get restarted every time your cron is ran whether there is an update or not. -- Duane Hill duih...@gmail.com "If at first you don't succeed, so much for sky diving."