V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
havok
V2EX  ›  问与答

Mac 下的 launchctl 定时任务不执行

  •  
  •   havok · 2016-07-31 14:26:16 +08:00 · 2197 次点击
    这是一个创建于 2879 天前的主题,其中的信息可能已经有所发展或是发生改变。

    为什么我的 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 了,如果手动执行脚本文件是可以执行的,但是就是不能定时,到底哪里出问题了?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2999 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 13:50 · PVG 21:50 · LAX 06:50 · JFK 09:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.