havok
V2EX  ›  问与答

Mac 下的 launchctl 定时任务不执行

  •  
  •   havok · Jul 31, 2016 · 2708 views
    This topic created in 3575 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   ·   5560 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 471ms · UTC 08:15 · PVG 16:15 · LAX 01:15 · JFK 04:15
    ♥ Do have faith in what you're doing.