# Auto-restarting once a day via cron?

**URL:** https://meta.discourse.org/t/auto-restarting-once-a-day-via-cron/400176
**Category:** Support
**Tags:** email-in
**Created:** [8 באפריל,‏ 2026,‏ 2:54am UTC](https://meta.discourse.org/t/auto-restarting-once-a-day-via-cron/400176 "2026-04-08T02:54:08Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![kwest](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@kwest](https://meta.discourse.org/u/kwest)
#### Post date: [8 באפריל,‏ 2026,‏ 2:54am UTC](https://meta.discourse.org/t/auto-restarting-once-a-day-via-cron/400176/1 "2026-04-08T02:54:08Z")

</div>

I posted this a few weeks ago:

> [@Discourse stopped polling my POP3 server](https://meta.discourse.org/t/discourse-stopped-polling-my-pop3-server/398324):
>
> Hello, I run a Discourse server at Digital Ocean which polls our incoming email address at a cPanel-based shared hosting provider to retrieve messages to post to Discourse. It’s generally worked very well for a couple of years, but stopped working yesterday - the mailbox received an email yesterday at 3:44 pm, and that DID get picked up by our DO Discourse instance, but three emails that came in shortly after that are not getting picked up. (The emails appear in the shared host’s cPanel Email p…

Since then, we had an incident where Discourse didn’t receive incoming emails for five days: On April 1, it picked up 2 incoming emails promptly, but then failed to pick up the 4 incomingn email posts that came in on 4/2 and 4/3. Then, on 4/5, for unknown reasons, the log shows

| Job exception: -ERR [SYS/TEMP] Server shutting down. |
| --- |

and the next day it started retrieving emails from our POP mailbox again (although, again, with sporadic slowness - it’s set to check the mailbox every few minutes, but sometimes it retrieves new messages within a few minutes, and sometimes it takes a few hours).

Might it help to try restarting Discourse once a day using a cron job? This is a low volume community with just a few posts a day (usually 5-10 posts a day), but most members receive posts via email and everyone wants the emailed posts to go out promptly.

So:

Would restarting Discourse once a day be good for the app, or bad, or neither?

Anything else I could try to get Discourse to grab our POP messages more frequently?

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/auto-restarting-once-a-day-via-cron/400176)._
