# SpamAssassin cron

**URL:** <https://forums.interworx.com/t/spamassassin-cron/22993>\
**Category:** General Inquries\
**Created:** [December 22, 2022, 11:47am UTC](https://forums.interworx.com/t/spamassassin-cron/22993 "2022-12-22T11:47:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bear](https://forums.interworx.com/letter_avatar_proxy/v4/letter/b/ac8455/32.png) [@bear](https://forums.interworx.com/u/bear)\
**Post date:** [December 22, 2022, 11:47am UTC](https://forums.interworx.com/t/spamassassin-cron/22993/1 "2022-12-22T11:47:32Z")

</div>

Hope your all well.

Just noticed spamassassin rules is not updating daily, thought i had created a daily cron a while back.  
manually updated using sa-update -D and restarted spamassassin.

going to create a new daily cron, could someone tell me what should be in the cron to update rules and restart spamassassin.

Thank you

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [December 22, 2022, 12:23pm UTC](https://forums.interworx.com/t/spamassassin-cron/22993/2 "2022-12-22T12:23:42Z")

</div>

Hi Bear

Hope your keeping well

you need to place this line in a cron job and I have our set to 1 day but you set your own period

Many thanks and hope you have a lovely christmas and a happy new year

John

sa-update -D; service spamassassin restart

---

<div class="post-metadata">

**Author:** ![bear](https://forums.interworx.com/letter_avatar_proxy/v4/letter/b/ac8455/32.png) [@bear](https://forums.interworx.com/u/bear)\
**Post date:** [December 22, 2022, 12:44pm UTC](https://forums.interworx.com/t/spamassassin-cron/22993/3 "2022-12-22T12:44:37Z")

</div>

Lovely, thank you.

Have a great Christmas and happy new year 🙂
