26

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.

1
  • Try booting in single user mode some time and firing up jobs by hand using launchctl. It's so much nicer than the old days and you can really learn how things work. – bmike Aug 2 '11 at 16:14
25

This seems to be exactly what you are looking for: LaunchControl

1
  • 1
    Nice one. This seems to map directly to how launchd works. 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
9

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.

3
  • 1
    But I don't think it stops and starts processes - see its suggestion to logout/reboot after making a change – mmmmmm Aug 2 '11 at 9: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 2 '11 at 16:13
  • The Mac App Store version looks out of date now - Lingon X seems to be the current version now - peterborgapps.com/lingon – Matt Sheppard Feb 6 '18 at 16:53
1

I found this article: https://foliovision.com/2014/01/os-x-scheduling-tools

Lingon looked very slick.

1
  • Lingon is awesome. Been a great program for many years now. – bmike Dec 11 '14 at 17:45
0

Lingon X will do what you want. Please note, an earlier answer suggested Lingon, which is a version of this app that doesn’t have as many capabilities and is available from the App Store. For full functionality you’d want Lingon X directly from the developer.

-1

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

4
  • If in /Library they will probably need to run with sudo – mmmmmm Aug 2 '11 at 8:20
  • 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 2 '11 at 8:30
  • The 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 2 '11 at 18:25
  • You wont need root for LaunchAgents. They run as unprivileged user! – Eun May 22 '14 at 11:17
-1

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/

4
  • 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 How to Answer on how to provide a quality answer. - From Review – fsb Apr 19 '20 at 12:36
  • hi @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
  • Well, 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .