exoclaw-tools-cron
Cron scheduling tool and service for exoclaw — lets the agent schedule one-time, recurring, and cron-expression-based tasks that persist across restarts.
Install
pip install exoclaw-tools-cron
Usage
from pathlib import Path
from exoclaw_tools_cron.service import CronService
from exoclaw_tools_cron.tool import CronTool
cron_service = CronService(
store_path=Path("~/.nanobot/workspace/cron.json").expanduser(),
on_job=my_job_handler, # async callable that receives a CronJob
)
await cron_service.start()
cron_tool = CronTool(cron_service=cron_service)
# Register cron_tool with the agent's tool registry
The agent uses CronTool to add/list/remove/update jobs. CronService persists jobs to disk in JSON and reloads automatically if the file is modified externally. Supports every_seconds, cron_expr (with IANA timezone), and at (ISO datetime) schedules.
Release files for exoclaw-tools-cron 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| exoclaw_tools_cron-0.9.1.tar.gz | 22.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| exoclaw_tools_cron-0.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.7 kB
Release files / exoclaw_tools_cron-0.9.1.tar.gz
| Download URL | exoclaw_tools_cron-0.9.1.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7eaf506395f86fdcc8c18a664a2e595942d855aea2231b0904674a82e11d655
|
|
BLAKE2b-256 checksum How to use checksums |
698e8b6dc7ba3203a8177b9226905f9a4f4f2418c917578e9b95913b4a4e5b9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / exoclaw_tools_cron-0.9.1-py3-none-any.whl
| Download URL | exoclaw_tools_cron-0.9.1-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8db2174e15406c49edc57b18332a3d568feba8084b7afa8b2a5b3c417d6e023b
|
|
BLAKE2b-256 checksum How to use checksums |
fce1e09d08ce9b3cdab50e8bb3ab76a439fde3a6fa9e3ffa2994169250641f73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|