AaronLee
V2EX  ›  问与答

Linux crontab 使用的环境变量如何与用户变量完全相同?

  •  
  •   AaronLee · Aug 22, 2023 · 1417 views
    This topic created in 1018 days ago, the information mentioned may be changed or developed.
    3 replies    2023-08-23 10:25:19 +08:00
    AaronLee
        1
    AaronLee  
    OP
       Aug 22, 2023
    请删除这个帖子,无发布了。
    julyclyde
        2
    julyclyde  
       Aug 22, 2023
    首先就不存在所谓“用户变量”这个概念
    login shell 的变量是由 login 过程生成的
    AaronLee
        3
    AaronLee  
    OP
       Aug 23, 2023
    已经解决,具体请看 https://www.v2ex.com/t/967242
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5115 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 09:28 · PVG 17:28 · LAX 02:28 · JFK 05:28
    ♥ Do have faith in what you're doing.