Skip to main content

Cron with hooks (webhook and others)

Project description

hoocron

Cron with different triggers to kick immediate execution of jobs

Installation

pip3 install hoocron

Usage examples

We will run program /bin/touch with different arguments.

Simplest case:

hoocron.py -j J /bin/touch /tmp/touch -p J 20s

This command configures job (what to run, command and arguments) and hook (when to run). This very similar to cron.

Now, lets make it more interesting, we will also run job if get HTTP request


See also

Redis plugin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

hoocron-0.0.1-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

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