Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Use a graphical GUI to create launchd tasks System 10.4
Tiger only hintIn my case, I just wanted to start up snmpd at boot time on Tiger. I had quite a hard time configuring launchd to do so, until I found out about the open-source Lingon program. Lingon is simply a graphical user interface you can use to configure launchd correctly. It includes an assistant, as well as a built-in text editor for editing.

In order to start a daemon, I just added a Users Daemon, into which I entered the following:
  • Label: org.ucd.snmpd
  • ProgramArguments:
    • /usr/sbin/snmpd
    • -c /etc/snmpd.conf
  • Check RunAtLoad and enter a description.
Note that you need to supply the program's arguments on several lines -- the program itself, then its arguments, as seen above. In the Miscellaneous tab, you also need to enter UserName as root. Click on Save & Load, and watch the little button next to your new agent. If it's green, it means that it worked!

No need to say that Lingon doesn't need to be running for all this to work ... and I have no doubt that plenty of very cool things can be done with this tool, as there are a lot of very cool features in launchd.
    •    
  • Currently 1.86 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (7 votes cast)
 
[18,943 views]  

10.4: Use a graphical GUI to create launchd tasks | 5 comments | Create New Account
Click here to return to the '10.4: Use a graphical GUI to create launchd tasks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use a graphical GUI to create launchd tasks
Authored by: wheeles on Dec 13, '05 08:15:45AM

I was looking for something like Diablotin for use with launchd. Looks like this could be just the thing.



[ Reply to This | # ]
10.4: Use a graphical GUI to create launchd tasks
Authored by: tinpan on Dec 13, '05 08:15:59AM

Not only did using Lingon help me get some needed jobs done, it is also helping me understand launchd better. (I was having hard time wrapping my head around launchd).

And lingonberries are good on waffles with whipped cream...



[ Reply to This | # ]
10.4: Use a graphical GUI to create launchd tasks
Authored by: rspeed on Dec 13, '05 02:44:15PM

Isn't snmpd able to run as a standard user?



[ Reply to This | # ]
10.4: Use a graphical GUI to create launchd tasks
Authored by: jmdevaney on Dec 13, '05 07:57:39PM

Thank you for this hint!

---
Jdevaney



[ Reply to This | # ]
10.4: Use a graphical GUI to create launchd tasks
Authored by: klktrk on Dec 14, '05 12:31:06AM

All hail the mighty Lingon. I've been using it for a while and it has taught me more about launchd than the Apple docs ever did. Using it, I have turned off the periodic tasks, and instead created a daemon that runs XJanitor on a recurring cycle. Alternatively, of course, you can change the various periodice maintenance tasks to be recurring now anyway, but I like the way XJanitor gives me feedback about what it's doing, and how long until the next weekly, monthly, or daily task will be run. Lingon is great stuff and I'm grateful to the developer for the long hours invested in it.



[ Reply to This | # ]