Metadata-Version: 2.4
Name: cronmiss
Version: 0.0.1
Summary: Know when a scheduled job did not run. Ping client for cronmiss.
Author-email: cronmiss <support@cronmiss.com>
License-Expression: MIT
Project-URL: Homepage, https://cronmiss.com
Project-URL: Source, https://github.com/cronmiss/cronmiss-python
Keywords: cron,cron-monitoring,heartbeat,dead-mans-switch,scheduled-jobs
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# cronmiss

Know when a scheduled job did not run.

Your job pings cronmiss when it finishes. If the ping is late or missing, you get an alert. That catches the failure that leaves no error behind: the cron that simply never fired.

> Early release. The cronmiss service is not open for sign-ups yet; this client is published ahead of it. See [cronmiss.com](https://cronmiss.com).

```python
from cronmiss import ping, monitor

# At the end of a job
ping("YOUR-MONITOR-ID")

# Or decorate the job: start, then success, or fail with the error message
@monitor("YOUR-MONITOR-ID")
def sync_invoices():
    ...
```

`ping` never raises and returns `True` when the ping was recorded. Monitoring should never be the reason a job fails. Standard library only.

## License

MIT
