dotfiles / cron
AGENTS.md16 starsChanged 48 days agoMITView on GitHub
The jobs themselves are personal and live in another repository; this directory holds only what is true for anyone. Point three constants at your own repository and everything here works: On this machine they point at ~/projects/cron (private, Gitea), whose AGENTS.md describes the fragments. - install.sh (command cron-install) concatenates environment.cron (SHELL=/bin/zsh, PATH) and every fragment under $DIR_CRON_JOBS sorted by file name — not path, so moving a fragment between theme folders never changes the merge order — and pipes the…
In this repository50 other files it gives its agents.
- ableton/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- aichat/AGENTS.mdAGENTS.md
- aider/AGENTS.mdAGENTS.md
- annepro2/AGENTS.mdAGENTS.md
- applesauce/AGENTS.mdAGENTS.md
- atuin/AGENTS.mdAGENTS.md
- btop/AGENTS.mdAGENTS.md
- chromium-vimium-extension/AGENTS.mdAGENTS.md
- claude-code/AGENTS.mdAGENTS.md
- codex/AGENTS.mdAGENTS.md
- constants/AGENTS.mdAGENTS.md
- contextMenu/AGENTS.mdAGENTS.md
- docker/AGENTS.mdAGENTS.md
- docker-logger/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- dotfiles_tests/AGENTS.mdAGENTS.md
- eza/AGENTS.mdAGENTS.md
- firefox-vimium-addon/AGENTS.mdAGENTS.md
- fork/AGENTS.mdAGENTS.md
- git/AGENTS.mdAGENTS.md
- hammerspoon/AGENTS.mdAGENTS.md
- heroic/AGENTS.mdAGENTS.md
- homebrew/AGENTS.mdAGENTS.md
- iina/AGENTS.mdAGENTS.md
- install/AGENTS.mdAGENTS.md
- iterm/AGENTS.mdAGENTS.md
- jetbrains rider/AGENTS.mdAGENTS.md
- karabiner/AGENTS.mdAGENTS.md
- lazydocker/AGENTS.mdAGENTS.md
- lazygit/AGENTS.mdAGENTS.md
- macos/AGENTS.mdAGENTS.md
- macos_cleanup/AGENTS.mdAGENTS.md
- macos_shortcuts/AGENTS.mdAGENTS.md
- macos_update/AGENTS.mdAGENTS.md
- marta/AGENTS.mdAGENTS.md
- noti/AGENTS.mdAGENTS.md
- npm/AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- qdrant/AGENTS.mdAGENTS.md
- rtk/AGENTS.mdAGENTS.md
- tmux/AGENTS.mdAGENTS.md
- uv/AGENTS.mdAGENTS.md
- voiceink/AGENTS.mdAGENTS.md
- vscode/AGENTS.mdAGENTS.md
- xcode/AGENTS.mdAGENTS.md
- zap/AGENTS.mdAGENTS.md
- zsh/AGENTS.mdAGENTS.md
- claude-code/CLAUDE.mdCLAUDE.md
The file
Files
cron — the mechanism that turns a directory of .cron fragments into the user's crontab, plus the calendar and weekly report that watch it
The jobs themselves are personal and live in another repository; this directory holds only what is true for anyone. Point three constants at your own repository and everything here works:
| Constant | Meaning |
DIR_CRON | the jobs repository; $DIR_CRON/logs/ collects per-job output, $DIR_CRON/cron-calendar.html is the rendered calendar |
DIR_CRON_JOBS | **/*.cron fragments, any depth of theme subfolders |
DIR_CRON_SCRIPTS | what the fragments call, written as $DIR_CRON_SCRIPTS/foo.sh |
TG_CHAT_NOTIFY + TG_THREAD_CRON | where weekly-report.sh posts |
On this machine they point at ~/projects/cron (private, Gitea), whose
AGENTS.md describes the fragments.
install.sh(commandcron-install) concatenatesenvironment.cron(SHELL=/bin/zsh,PATH) and every fragment under$DIR_CRON_JOBSsorted by file name — not path, so moving a fragment between theme folders never changes the merge order — and pipes the result tocrontab -, replacing the whole crontab. Editing a fragment changes nothing until it runs;--printshows the result without installing.crontabneeds Full Disk Access, which an agent shell lacks: the owner runscron-install, an agent's call hangs.- A fragment is a crontab excerpt: a header comment, then `
<schedule><command>$DIR_CRON/logs/
<name>.log 2>&1. BecauseSHELLis zsh and zsh sources~/.zshenv, every constant is exported into the job — fragments write$DIR_CRON_SCRIPTS/…and$TG_CHAT_MAIN`, never a literal path or id. cron-calendar.py(commandcron-cal) renders a static Apple-glass Gruvbox dashboard of every job;cron-report.py(cron-cal --report) prints the weekly health text — problems first: jobs whose log has been silent for over 20× their interval, jobs with no log at all, duplicated lines. Both are stdlib only and read the same fragment set the installer does (collect_fragmentswalks subfolders;tests/test_cron_calendar.pypins it).weekly-report.shposts the text withtgevery Monday; the fragment that schedules it lives with the other jobs. Tests:uv run --with pytest python -m pytest -q cron/tests.- A job that needs the login keychain or a mounted volume cannot be a cron job:
crontab runs from a LaunchDaemon without a user security session, and TCC
attributes a script to its interpreter. Such a job is a LaunchAgent whose
ProgramArgumentsnames a compiled binary — see~/projects/forksandlaunchagents/. install/15-ci-guarded.shrunsinstall.shas part ofmake;install/check.shasserts the live crontab equalsinstall.sh --print.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

