Skip to content

docs: respect custom state dir in cron example#15

Open
Gujiassh wants to merge 1 commit intoslowmist:mainfrom
Gujiassh:docs/custom-state-dir-cron-example-refresh-20260411
Open

docs: respect custom state dir in cron example#15
Gujiassh wants to merge 1 commit intoslowmist:mainfrom
Gujiassh:docs/custom-state-dir-cron-example-refresh-20260411

Conversation

@Gujiassh
Copy link
Copy Markdown

Summary

  • replace the hardcoded ~/.openclaw/workspace/... cron --message example with the documented ${OPENCLAW_STATE_DIR:-$HOME/.openclaw} path form
  • keep the English and Chinese core guides aligned with the $OC / custom-state-dir convention documented earlier in the same files
  • scope the PR to the two guide docs only

Validation

  • reviewed both updated cron registration examples side by side to confirm they now use ${OPENCLAW_STATE_DIR:-$HOME/.openclaw}
  • confirmed the old hardcoded bash ~/.openclaw/workspace/scripts/nightly-security-audit.sh example is gone from the two core guide docs

Notes

  • clean replacement for the previously closed #9 lane on current origin/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant