Skip to main content

Why are my cron monitors marked as timed out?

Issue

We are seeing timeouts in our cron monitors.

Applies To

  • All SaaS organisations

  • Cron Monitors

Resolution

Cron monitors in Sentry are marked as timed out when Sentry receives the first "in progress" check-in but does not receive an "ok" within the max runtime configured in your cron monitor settings.

Firstly, ensure that you are using the latest version of your Sentry SDK. Also ensure that you are using an up-to-date method for sending check-ins based on our docs. Next, make sure that you are sending both an "in progress" check-in and then an "ok" or "error" one.

If you have set up all of the above but are still getting timed-out check-ins, the next step is to enable Sentry's debug logs (debug:true inside your Sentry init - depends on the SDK of your choice). This will provide useful logs with insights on whether these parts of your code are being executed as expected or not.

Did this answer your question?