Repository navigation
schedule: fix cronCommand() cd (pasted cron line now works) - #328
Merged
Merged
Conversation
…e works bin/tiger resolves the app root from the working directory, so the displayed cron line failed with "run this from a Tiger app root" when pasted as-is. Prefix it with `cd <root> &&`. The two schedule tests (string type; contains "schedule:run") still pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ
Merged
WebTigers
added a commit
that referenced
this pull request
Oct 7, 2026
…ve themes (#325) (#329) Claude-Session: https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ 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
Schedule_Service_Schedule::cronCommand()returnedphp <root>/vendor/bin/tiger schedule:run …, butbin/tigerresolves the app root from the working directory — so pasting that line into crontab/cPanel fails with "run this from a Tiger app root (no vendor/autoload.php found)".Fix: prefix with
cd <root> &&so the pasted line works:Why
Surfaced while wiring the TigerHosting Stripe-driven renewal job (a Tiger_Schedule daily job): the scheduler cron was absent on the fleet, and the Scheduler screen's own command didn't run when pasted.
Tests
No test asserts the exact string;
ScheduleServiceTestchecks it containsschedule:runandIndexControllerTestchecks it's a string — both still pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ