A system for starting, stopping, and managing automated processes.

learn more… | top users | synonyms (2)

14
votes
3answers
2k views

Why is cron being deprecated?

I just found out that cron has been deprecated in Mac OS X. Why is this, and will it eventually be completely removed from future releases?
8
votes
2answers
3k views

Automatically delete a folder daily

Is there a way to automatically have a folder deleted every day at 4am? I'm running 10.6.7.
4
votes
3answers
882 views

Can't quit app launched through launchd

As it says in the title, "Can't quit app launched through launchd"—or more precisely, I can quit it, but it then automatically restarts again. Background: I prefer to use BusyCal, not iCal, but ...
5
votes
1answer
8k views

Running a command whenever Mac boots up with launchctl/plist

I need to run nohup nice synergys -f --config ~/bin/conf/synergy.conf & command whenever the computer boots up. As is written in this post, I came up with the following plist code. <?xml ...
5
votes
1answer
2k views

Stopping a macports installed mysql daemon

I'm trying to reset my root password on a macports installed MySQL on OS X. But none of the ways to do this that I can find works, for various reasons. One reason common to all is that I can't stop ...
4
votes
2answers
1k views

How to automate DropBox startup without logging in

I'd like to have DropBox running under multiple user accounts on a Mac, even after a reboot. The Mac auto logs in as one user, not me. How to best achieve this?
44
votes
5answers
40k views

Why am I getting a “dubious ownership of file” error when Launch Agent runs my .plist file?

I have a Launch Agent configured to run a .plist file for example: /Library/LaunchAgent/foo.plist. Inside this .plist, it is set to run during LoginWindow and Aqua. When I attempt to launch my ...
0
votes
1answer
222 views

How do I launch an app at start up but as a specific user?

I want to launch an app at login but have it running as a specific user. Here's the use case: I turn on my Mac and login in as Ben. In the background iTunes is launched for Bill. Ben can launch his ...
4
votes
2answers
2k views

How can I stop com.apple.launched from attempting to start a service we uninstalled?

My office used to use JungleDisk Workgroup service to exchange large files. We've moved on to a new solution and I uninstalled the client according to their instructions, but I noticed today in the ...
5
votes
3answers
2k views

Automatically relaunch a closed application

I have an application that opens when I login. Is there a way to relaunch it automatically if it crashes or if I close it inadvertently? (the application in question is Transmission if there is any ...
15
votes
4answers
4k views

Can anyone recommend a good tutorial for writing (from scratch) a cron-style launchd job?

I've got a fairly simple job that I'd like to run every hour. I could do it using cron, but I thought I'd use this to learn about launchd, since I hear good things about it. I've got the man ...
3
votes
2answers
601 views

LaunchDaemon not recognised

I've installed CouchDB via MacPorts. Now I want to start it when my Mac boots, so I executed the instructions given in the install process: sudo launchctl load -w ...