Ship copy-ready scheduler wrapper templates (Windows + Linux)#49
Merged
Conversation
The scheduling docs had users hand-retype the run-prices / run-cot
wrappers from inline code blocks, which invites transcription errors in
the exact paths and flags that make or break a scheduled run.
- Add docs/examples/{windows,linux}/run-{prices,cot}.{cmd,sh}, each with
a header comment naming the placeholders and pointing back to the
scheduling doc. Linux copies are chmod +x.
- Point WINDOWS_SCHEDULING.md and LINUX_SCHEDULING.md at the templates:
copy out of the repo, fill placeholders, keep them outside the tree so
a git pull never clobbers edited paths.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Ships copy-ready scheduler wrapper templates so users don't hand-retype them from doc code blocks.
docs/examples/windows/run-prices.cmd,run-cot.cmddocs/examples/linux/run-prices.sh,run-cot.sh(executable)Each carries a header comment naming the
<...>placeholders and pointing back to the relevant scheduling doc.WINDOWS_SCHEDULING.mdandLINUX_SCHEDULING.mdnow point at the templates: copy them out of the repo, fill in placeholders, and keep them outside the tree so agit pullnever clobbers edited paths.Why
The wrappers encode the exact store path, venv path, and flags (
--require-final, the two-stage databento build) that make or break a scheduled run. Retyping them from an inline block is the easiest place to introduce a silent error. Came up finishing a Windows daily-prices Task Scheduler setup.Docs-only.
🤖 Generated with Claude Code