I am trying to schedule an automatice update of SpamAssassins rules using the following command:
When I run the command manually it runs fine.
But when I put:
in my /etc/crontab and I receive the email alert it always says:
I have also tried the following in cron:
but I still get the same output. Does anyone know how to successfully schedule this kind of update with SpamAssassin?
Thanks!
Code:
sa-update
When I run the command manually it runs fine.
But when I put:
Code:
00 4 * * * root sa-update
in my /etc/crontab and I receive the email alert it always says:
Code:
sa-update: not found
I have also tried the following in cron:
Code:
00 4 * * * root sa-update -v
00 4 * * * root sa-update -D
but I still get the same output. Does anyone know how to successfully schedule this kind of update with SpamAssassin?
Thanks!
