mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
The cron jobs are potentially wrapped by Sentry, which logs "cron failures" and sends emails. We would like those failures to only be when the cron job itself failed to run successfully -- not when the underlying metric is outside of its normal range. We would like to differentiate a failure of the monitoring infrastructure from a failure of what it is monitoring. Swap to return 0 on everything except "unknown" results.
This directory contains scripts that:
-
Generally do not require access to Django or the database (those are "management commands"), and thus are suitable to run operationally.
-
Are useful for managing a production deployment of Zulip (many are also used in a Zulip development environment, though development-only scripts live in
tools/
).
For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.