Skip to main content

A simple monitor and wrap function for cron jobs

Project description

Cronpulse

Cronpulse is a simple Python package to monitor and wrap cron jobs with state pings.

Installation

pip install cronpulse

Using Monitor directly

monitor = Monitor("your_job_key")
monitor.ping("run")
# Your job logic here
monitor.ping("complete")

Using wrap function

async def example_job(): # Your job logic here

wrapped_job = wrap("your_job_key", example_job)
await wrapped_job()
# cronpulse-python

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

cronpulse-0.3.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

cronpulse-0.3.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file cronpulse-0.3.1.tar.gz.

File metadata

  • Download URL: cronpulse-0.3.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for cronpulse-0.3.1.tar.gz
Algorithm Hash digest
SHA256 062b5ce4270bae5c4de0a14811fe78f8dbec59bdc1465dc587c5bad9bfc5528b
MD5 c4093ffe4e0e198c3cb5dc6722068ff6
BLAKE2b-256 8a0401b6c48b0018cca7b6d6ab3e302e34afa4dfa79078c21b1b9640bec1cae9

See more details on using hashes here.

File details

Details for the file cronpulse-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: cronpulse-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for cronpulse-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4a9587fda8d015df7189d884e54cb0f8f0597f815d3e37b623dc07d90c23c64
MD5 03cecc88c65ebfb6001658a2e2704888
BLAKE2b-256 a363c83ea6b49f1478cd412f9c9d1bbf7fe173a1bc6a0de17322062c02b4e924

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