AaronLee
V2EX  ›  问与答

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

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