Skip to main content

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

cronradar-0.0.4.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cronradar-0.0.4-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file cronradar-0.0.4.tar.gz.

File metadata

  • Download URL: cronradar-0.0.4.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

Hashes for cronradar-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2986b375da0c84b4261a2cc9cc809536965d84ace75d6d6fbe3e5d6840d9c1ef
MD5 10382b0ed8322369da11b12fb0c7f839
BLAKE2b-256 637941db5e40cc6609c8e253391e7ab5e5275d926ee11ce2d850490d3ecef9ba

See more details on using hashes here.

File details

Details for the file cronradar-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: cronradar-0.0.4-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

Hashes for cronradar-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cc520bf15896127e416bd3f31f424e974cc9e6b2d38e091831553299f3528f79
MD5 c68dbb41bff5d55decaab525fb909c00
BLAKE2b-256 95952867aab28bd5a22d02aad322c61ce817de7d169bd031cef311779fb8f51f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page