havok
V2EX  ›  问与答

Mac 下的 launchctl 定时任务不执行

  •  
  •   havok · Jul 31, 2016 · 2736 views
    This topic created in 3595 days ago, the information mentioned may be changed or developed.

    为什么我的 Mac 下的 launchctl 不执行? 这是我的 plist 文件,放在了~/Library/LaunchAgents 下面。

    https://gist.github.com/anonymous/afc2f646b441cc85cee1bcf242781c26

    我把执行周期变成了 StartCalendarInterval 也不行

    https://gist.github.com/anonymous/9480d994d1539999387231f402882dac

    然后执行的脚本文件是

    https://gist.github.com/anonymous/0c8bdad5cb97c166f2c18496bafdb361

    脚本文件权限是 777 了,如果手动执行脚本文件是可以执行的,但是就是不能定时,到底哪里出问题了?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   961 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:53 · PVG 05:53 · LAX 14:53 · JFK 17:53
    ♥ Do have faith in what you're doing.