Skip to content

cronpulse-live/cronpulse-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

end-to-end monitoring for background jobs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages