Bug Description
If your project has sentry_sdk installed for its own use, django-crontask's cron monitoring cannot be disabled by any means known to me, even if you don't install it with the optional [sentry] dependency.
Expected Behavior
It should be possible to disable crontask's internal cron monitoring, in order to roll one's own monitoring code. Especially since crontask doesn't let the user set any of the advanced cron monitor configuration that sentry_sdk provides.
I'd make a PR for this, but it feels like the "right" solution is to detect whether the [sentry] optional dependency was installed, and I'm not sure how to do that, or if that's even possible. An alternative would be a Django setting, e.g. CRONTASK["ENABLE_SENTRY_MONITORING"], which would default to True.
Version
1.2.0
Bug Description
If your project has sentry_sdk installed for its own use, django-crontask's cron monitoring cannot be disabled by any means known to me, even if you don't install it with the optional
[sentry]dependency.Expected Behavior
It should be possible to disable crontask's internal cron monitoring, in order to roll one's own monitoring code. Especially since crontask doesn't let the user set any of the advanced cron monitor configuration that sentry_sdk provides.
I'd make a PR for this, but it feels like the "right" solution is to detect whether the
[sentry]optional dependency was installed, and I'm not sure how to do that, or if that's even possible. An alternative would be a Django setting, e.g.CRONTASK["ENABLE_SENTRY_MONITORING"], which would default to True.Version
1.2.0