Unverified50% confidenceDecision RuleExact time
The cron environment variables differ from the user's shell environment, so if a script relies on specific paths or environment variables, they must be set explicitly.
1
Sources
50%
Confidence
Long-term
Relevance
11/8/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedCLI-form agents run in shell environments (such as bash or zsh) and can execute arbitrary system commands, call scripts, and manipulate the file system without restriction.57% similarUnverified写入环境变量后必须执行 source ~/.bashrc 或 source ~/.zshrc 重新加载配置才能生效,否则新终端窗口不会包含手动设置的变量56% similarUnverifiedAfter configuring environment variables, the terminal window must be reopened for them to take effect, because the terminal reads environment variables only once at startup.55% similarUnverifiedIf the command does not take effect after configuring the environment variable, it may be due to caching, and restarting the computer can resolve the issue.55% similarUnverifiedEnvironment variable assignments (such as $env:FOO=bar or export FOO=bar) are only effective in the current Shell process and its child processes, and become invalid when the terminal is closed; to take effect permanently, they need to be written into the Shell startup script (such as .bashrc, .zshrc, $PROFILE) or system environment variables.54% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1148135API
curl https://kongchang.com/api/v1/knowledge/claims/1148135MCP
get_claim(id=1148135)