Skip to main content

Cron command plugin for Takopi.

Project description

takopi-cron

cron command plugin for takopi. run a prompt on an interval and post results back into your chat.

This is intentionally simple:

  • It runs in-process inside Takopi (so Takopi must be running).
  • It does not survive restarts (you re-run /cron start after restart).

requirements

uv for installation (curl -LsSf https://astral.sh/uv/install.sh | sh)

python 3.14+ (uv python install 3.14)

takopi installed

install

recommended (installs the plugin into takopi's uv tool environment):

uv tool install -U takopi --with takopi-cron

if you installed takopi via pip (or you're running takopi from a project venv), install the plugin into the same environment:

pip install -U takopi-cron

enable it:

[plugins]
enabled = ["takopi-cron"]

usage

Start a job (runs once immediately, then repeats):

/cron start 6 Write a summary of today's PRs and what I should review next.

Stop the job for the current chat/thread:

/cron stop

Status:

/cron status

List all running cron jobs:

/cron list

Run once (no scheduling):

/cron run What changed since yesterday?

Seed presets (from config):

/cron seed list
/cron seed start daily_summary

Seed presets start in the chat/thread where you run the command.

Tips:

  • Put an engine directive at the start of the prompt, e.g. /claude ...
  • Put a project directive at the start of the prompt, e.g. /myproj ...
  • Put a branch directive at the start of the prompt, e.g. @feat/foo ...

config

In ~/.takopi/takopi.toml:

[plugins.cron]
# Optional: restrict who can control cron jobs
allowed_user_ids = [12345678]

# Optional: whether cron ticks should notify (default: true)
notify = true

# Optional: seed presets (saved cron definitions). they do not auto-start; you
# start them later with `/cron seed start ...`.
[[plugins.cron.seed]]
id = "daily_summary"
every_hours = 6
prompt = "/codex summarize what changed since the last cron tick"
# notify = true            # optional override
# enabled = false          # optional

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

takopi_cron-0.0.3.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

takopi_cron-0.0.3-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file takopi_cron-0.0.3.tar.gz.

File metadata

  • Download URL: takopi_cron-0.0.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for takopi_cron-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c35c7aa68771bc2a43e544f7161ea79068ccc38cd02f6d7ac8af8ff990a0afd7
MD5 3bd5d37ca458cdf5da60bf54af652726
BLAKE2b-256 40a4431d8d144aba6487e32bb12086c6020a2e9fb3bb398d35e0a01c362b6fd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_cron-0.0.3.tar.gz:

Publisher: workflow.yml on richardliang/takopi-cron

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

File details

Details for the file takopi_cron-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: takopi_cron-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for takopi_cron-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5ac6097f6030f6cc6c984b251d00a649687a70ab679e41aeb9cee9068085911f
MD5 469019c7d1bebcd7185135390ce35ddf
BLAKE2b-256 c56572dbab253c9de97319340c2facf54488c54f500aa63a21f8d3c7e2dc75f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_cron-0.0.3-py3-none-any.whl:

Publisher: workflow.yml on richardliang/takopi-cron

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

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