Dead-simple cron job monitoring with auto-registration. Two functions: ping() and sync_monitor(). Self-healing monitors.
Project description
CronRadar Python SDK
Monitor cron jobs with one function call.
Installation
pip install cronradar
Usage
import cronradar
# After your cron job completes successfully
cronradar.monitor('daily-backup')
# With self-healing (auto-register if monitor doesn't exist)
cronradar.monitor('daily-backup', schedule='0 2 * * *')
Lifecycle Tracking
Option 1: Context Manager (Automatic)
with cronradar.job('daily-backup', schedule='0 2 * * *'):
run_backup()
Option 2: Manual
cronradar.start_job('daily-backup')
try:
run_backup()
cronradar.complete_job('daily-backup')
except Exception as e:
cronradar.fail_job('daily-backup', str(e))
raise
Configuration
Set environment variable:
CRONRADAR_API_KEY: Your API key from cronradar.com
Documentation
See cronradar.com/docs for full documentation.
License
Proprietary - © 2025 CronRadar. All rights reserved.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cronradar-0.0.5.tar.gz.
File metadata
- Download URL: cronradar-0.0.5.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c66658496856f53285419f062f11ec3a75ca19b59ff14396182fe9eb85fef47
|
|
| MD5 |
0a316f2aa723159d6caf962e27301a2b
|
|
| BLAKE2b-256 |
d16559077a17df3e78434ce32892b019d14a616e0436541539f8eaba9cc804e1
|
File details
Details for the file cronradar-0.0.5-py3-none-any.whl.
File metadata
- Download URL: cronradar-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
296c2fb8e50c232aec6e4e5969a1328db70413429edc86429aac0831a69473ec
|
|
| MD5 |
ba5ef8816a51b9076e499577981bd119
|
|
| BLAKE2b-256 |
6a2a5042cc4309a05d8695ce7fe805a23d8583ea03cb6ca07e0c9dc3b919ae62
|