Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

punctual

The reliability layer cron never had. One long-running process, zero infrastructure, a config file that reads like a crontab — plus the five things every team ends up bolting onto cron by hand:

cron punctual
Retries / backoff
Catch-up after downtime ✗ (silently skips) ✓ (per-job policy)
Dependencies between jobs ✓ (after = [...], no DAG file)
"Did the 3am job run?" ✓ (durable run history, metrics, traces)
Exactly-once under overlap/restart ✓ (claim-before-run)

Not Airflow. Airflow (and Dagster, Temporal, …) assume a database, a scheduler process, a web server, a worker pool, and that you'll rewrite your jobs as DAGs. That's right at 500 jobs and 12 engineers. punctual is for the machine with 6 scripts on it — which is most machines.

Status: pre-alpha, under active design. See docs/DESIGN.md for the decisions made so far and the ones still open.

The shape of it

# punctual.toml
[job.scrape]
schedule  = "*/10 * * * *"
command   = "python -m sniper.scrape"
on_missed = "skip"                       # skip | run_latest | run_each

[job.retrain]
schedule  = "0 8 * * 1"
command   = "python -m sniper.retrain"
after     = ["scrape"]                   # dependency edge
timeout   = "45m"
retries   = { max = 3, backoff = "exponential" }
on_fail   = "ntfy://my-topic"            # page after retries are exhausted
$ punctual run                 # start the daemon (put this under systemd/launchd)
$ punctual plan                # next 24h of fires, timezone/DST-aware
$ punctual history retrain     # every run: when, how long, exit code, output
$ punctual why retrain         # explain the last scheduling decision   (coming)
$ punctual tui                 # live dashboard                          (coming)

Quickstart

$ uv tool install git+https://github.com/TheJohnMatti/punctual   # or: pipx install …

$ mkdir -p ~/.config/punctual && cat > ~/.config/punctual/punctual.toml <<'EOF'
[job.heartbeat]
schedule = "* * * * * */30"     # every 30s — 6-field cron: seconds go LAST
command  = "date -u +%FT%TZ"

[job.backup]
schedule = "0 3 * * *"          # 03:00 daily
command  = "restic backup /home/me"
EOF

$ punctual -c ~/.config/punctual/punctual.toml validate
$ punctual -c ~/.config/punctual/punctual.toml run      # Ctrl-C drains, then exits
# ...in another shell:
$ punctual -c ~/.config/punctual/punctual.toml history
  09-01 14:30  heartbeat   succeeded    0.0s  exit   0
  09-01 14:30  backup      succeeded   12.4s  exit   0

State lives in ~/.local/state/punctual/punctual.db (override with $PUNCTUAL_DB). To keep it running, install a service — see packaging/.

What works today (M1 slice 1): scheduling from now, subprocess execution with output capture, timeouts, durable history. Not yet: catch-up after downtime, retries, why / tui. See docs/DESIGN.md.

Design principles

  1. A missed run is an incident, not a shrug. cron's original sin is silence.
  2. Zero infra to start. Embedded SQLite. No server, no broker, no web app.
  3. Crontab-shaped. If you can write a crontab you can write a punctual.toml.
  4. Exactly-once is at-least-once + idempotency. We're honest about that and build the idempotency in.
  5. Grows, doesn't bloat. Single node → leader-elected cluster → durable in-process steps, same core.

License

Apache-2.0.

Download files

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

Source Distribution

punctual_scheduler-0.0.1a0.tar.gz (41.2 kB view details)

Uploaded Source

Built Distribution

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

punctual_scheduler-0.0.1a0-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file punctual_scheduler-0.0.1a0.tar.gz.

File metadata

  • Download URL: punctual_scheduler-0.0.1a0.tar.gz
  • Upload date:
  • Size: 41.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for punctual_scheduler-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 d2d4dacee1df2e92cacfb96c8cfbae2d29d320fd6b0b8f41a8d58d506023f023
MD5 6bf12cc8e07cd571ca8607da69391424
BLAKE2b-256 5dd3f7fc1cc7ea3df29f0bf9cade9c1e74b4f94506bda245dd8da2929a747a19

See more details on using hashes here.

Provenance

The following attestation bundles were made for punctual_scheduler-0.0.1a0.tar.gz:

Publisher: release.yml on TheJohnMatti/punctual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file punctual_scheduler-0.0.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for punctual_scheduler-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 109a537f8f8ec29a1cfeb947d434c2b1d9ae0c05108f494ab92f0a080d77fbe4
MD5 21a44437c5236ac37cc37ecd09b14f16
BLAKE2b-256 d5bb96830234fc19e9a6423e3c79a4b20303cf01f3924319a227077701bda519

See more details on using hashes here.

Provenance

The following attestation bundles were made for punctual_scheduler-0.0.1a0-py3-none-any.whl:

Publisher: release.yml on TheJohnMatti/punctual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.0

2 files

This release

0.0.1a0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page