I'm a web developer by day and a lot of the software I install on my computer (namely databases and web servers) come with an optional LaunchAgent to automate starting/stopping processes on boot. I'm wondering if there's a GUI for these types of services so I can use the LaunchAgent, then kill the services gracefully. Another great feature would be if I could turn off boot on launch and just use the LaunchAgent to start/stop a service as needed.
6 Answers
This seems to be exactly what you are looking for: LaunchControl
- 381
-
1Nice one. This seems to map directly to how
launchdworks. Compare the dropdown in the upper left of the GUI to the list of file locations in the docs. – Derek Morrison Jun 27 '13 at 16:52
Lingon (MAS link)
It provides a nice GUI for creating daemons/agents, without writing plist file by yourself. You can also use it to delete daemons/agents that you don't want.
- 361
-
1But I don't think it stops and starts processes - see its suggestion to logout/reboot after making a change – mmmmmm Aug 02 '11 at 09:10
-
It won't load and unload the jobs - but you can easily do that from terminal by dragging the name of the agent from Lingon to the terminal. The start launchctl command is also nice for testing. – bmike Aug 02 '11 at 16:13
-
The Mac App Store version looks out of date now - Lingon X seems to be the current version now - https://www.peterborgapps.com/lingon/ – Matt Sheppard Feb 06 '18 at 16:53
To accomodate people that find this thread and just want to quickly create a new job: This very simple launchd online editor does the trick: http://launched.zerowidth.com/
- 159
-
Welcome to Ask Different! We're trying to find the best answers and those answers will provide supporting info as to why they're the best. Answers should be self-contained so explain why you think the answer you provided will solve the problem or is better/more complete than the others already provided. See [answer] on how to provide a quality answer. - From Review – fsb Apr 19 '20 at 12:36
-
2hi @fsb, my answer is intended to accomodate people that search on Google for "launchd GUI" and come here. The problem is that the title of this question is ambiguous. My answer just tries to help people that land here due to this ambiguity. Instead of downvoting my answer I'd ask you to improve the question title, please, if you really want to improve relevance here. – Mario Apr 19 '20 at 14:57
-
Your answer doesn't address the question which is why I downvoted. We can't control what Google links to but we can help to make sure answers deal with the question asked. Your answer is also considered a 'link only' answer which is frowned-upon here. I don't believe changing the title of a 9-year old post with several answers is the correct approach, either. – fsb Apr 19 '20 at 15:56
-
1Well, I guess time will tell whether Google and all the people that find this thread via Google search will agree with you. – Mario Apr 20 '20 at 21:20
-
-
This answer was useful also to me, much more than the links to paid apps. – Giancarlo Sportelli Apr 16 '23 at 21:29
-
I found this article: https://foliovision.com/2014/01/os-x-scheduling-tools
Lingon looked very slick.
- 11
-
-
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – grg Apr 29 '23 at 22:35
launchAgents are there to run in the background in conjunction with their respective Daemon, i.e. they have no GUI but you can load & unload them using terminal using:
launchctl unload -S Aqua /Library/launchAgents/"launchAgent's name"
"lanuchAgent's name" : enter the file name of the Agent you want to load/unload. /Library/launchAgents in OS X that is the default folder for Agents to load just replace unload with load
- 3,499
- 5
- 27
- 48
-
-
if you are logged in as a privileged user you don't need to, you need to use sudo if you want to un/load the daemon – Samantha Catania Aug 02 '11 at 08:30
-
1The OP seems to be looking specifically for GUI to control loading and unloading - not how launchd works in the command line. Good information, but not relevant to this topic. – bmike Aug 02 '11 at 18:25
-
launchctl,LaunchControl, or anything else). – smci Apr 29 '23 at 19:40