Skip to main content

cron-block-generation-gotchas

Guide for writing or debugging code that programmatically generates cron blocks (crontab entries). Use when: (1) a cron job runs fine by hand but silently never fires from cron, (2) writing an `enable`/`install`-style command that appends entries to a user's crontab, (3) cron jobs referring to paths under `~/Documents/...` or `~/Library/...` that contain spaces, (4) cron jobs invoking tools installed to `~/.local/bin`, `~/.cargo/bin`, `~/go/bin`, or a uv/pipx/npm user-install dir, (5) debugging "works in my shell, broken from cron" with no error output. Covers the two interacting gotchas — unquoted-space shell splitting and cron's stripped $PATH — plus how to reproduce cron's environment locally with `env -i` and how to generate a correct block with `shlex.quote()` and `shutil.which()`.

インストールへ移動

ソース情報

リポジトリ
cajias/claude-skills
ソースの最終更新活動
2026年7月20日 07:29
検出された SKILL.md の言語
英語
スター
0
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。