Aura7988
V2EX  ›  问与答

crontab 脚本中如何在命令需要密码的时候自动输入密码?

  •  
  •   Aura7988 · Aug 31, 2018 · 2101 views
    This topic created in 2855 days ago, the information mentioned may be changed or developed.
    写了一个 crontab 脚本用来自动更新 brew cask,但有些应用的更新需要输入密码,否则就会更新失败。
    可以在脚本中把密码传递给命令吗?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   911 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:57 · PVG 03:57 · LAX 12:57 · JFK 15:57
    ♥ Do have faith in what you're doing.