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.mdfor 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. Seedocs/DESIGN.md.
Design principles
- A missed run is an incident, not a shrug. cron's original sin is silence.
- Zero infra to start. Embedded SQLite. No server, no broker, no web app.
- Crontab-shaped. If you can write a crontab you can write a
punctual.toml. - Exactly-once is at-least-once + idempotency. We're honest about that and build the idempotency in.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2d4dacee1df2e92cacfb96c8cfbae2d29d320fd6b0b8f41a8d58d506023f023
|
|
| MD5 |
6bf12cc8e07cd571ca8607da69391424
|
|
| BLAKE2b-256 |
5dd3f7fc1cc7ea3df29f0bf9cade9c1e74b4f94506bda245dd8da2929a747a19
|
Provenance
The following attestation bundles were made for punctual_scheduler-0.0.1a0.tar.gz:
Publisher:
release.yml on TheJohnMatti/punctual
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
punctual_scheduler-0.0.1a0.tar.gz -
Subject digest:
d2d4dacee1df2e92cacfb96c8cfbae2d29d320fd6b0b8f41a8d58d506023f023 - Sigstore transparency entry: 2668921924
- Sigstore integration time:
-
Permalink:
TheJohnMatti/punctual@78ed871ed64b52561f3fc25c861c170a336dd84b -
Branch / Tag:
refs/tags/v0.0.1a0 - Owner: https://github.com/TheJohnMatti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@78ed871ed64b52561f3fc25c861c170a336dd84b -
Trigger Event:
push
-
Statement type:
File details
Details for the file punctual_scheduler-0.0.1a0-py3-none-any.whl.
File metadata
- Download URL: punctual_scheduler-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
109a537f8f8ec29a1cfeb947d434c2b1d9ae0c05108f494ab92f0a080d77fbe4
|
|
| MD5 |
21a44437c5236ac37cc37ecd09b14f16
|
|
| BLAKE2b-256 |
d5bb96830234fc19e9a6423e3c79a4b20303cf01f3924319a227077701bda519
|
Provenance
The following attestation bundles were made for punctual_scheduler-0.0.1a0-py3-none-any.whl:
Publisher:
release.yml on TheJohnMatti/punctual
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
punctual_scheduler-0.0.1a0-py3-none-any.whl -
Subject digest:
109a537f8f8ec29a1cfeb947d434c2b1d9ae0c05108f494ab92f0a080d77fbe4 - Sigstore transparency entry: 2668921942
- Sigstore integration time:
-
Permalink:
TheJohnMatti/punctual@78ed871ed64b52561f3fc25c861c170a336dd84b -
Branch / Tag:
refs/tags/v0.0.1a0 - Owner: https://github.com/TheJohnMatti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@78ed871ed64b52561f3fc25c861c170a336dd84b -
Trigger Event:
push
-
Statement type: