Skip to content

docs: respect custom state dir in cron example#15

Closed
Gujiassh wants to merge 1 commit into
slowmist:mainfrom
Gujiassh:docs/custom-state-dir-cron-example-refresh-20260411
Closed

docs: respect custom state dir in cron example#15
Gujiassh wants to merge 1 commit into
slowmist: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

@Gujiassh

Copy link
Copy Markdown
Author

Closing this authored PR as part of a May 13, 2026 cleanup pass: it has had no status update for more than one month. I am clearing stale queue noise rather than asking maintainers to keep reviewing an old branch.

@Gujiassh Gujiassh closed this May 13, 2026
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