Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我写了一个 Ruby 脚本,只要计算机在运行,我就想在后台重复运行。我正计划使用GeekTool让这个 .rb 文件在后台运行,但是我在使用 GeekTool 运行我的脚本时遇到了问题。
问题是我希望这个脚本完全出人意料(它是我妻子的消息显示系统),所以我希望能够让它在每次她的计算机启动时开始运行,并且只要她的计算机打开就一直运行. 如果我不能使用 GeekTool 来做到这一点,那么我不知道该使用什么。
我能做些什么?
你使用launchd
Lingon(尽管没有得到积极的支持)将帮助您创建启动设置,并且可以快速访问启动的手册页。
毕竟,Geektool 最终满足了我的需求。