Okay, quite simply I have a shell script that needs to wait for something to happen, but it has a lock-file and some child-processes that I need to ensure are tidied up if the script is interrupted. ...
There is not any ulimit configuration in system startup files/ shell startup scripts. ulimit -a shows: -u: processes 1064 -n: file descriptors 256 launchctl ...
In Mountain Lion why do remote shells via ssh do NOT inherit the environment of the launchd parent process?
When logging in to my Mountain Lion Mac remotely via ssh I do not get the same PATH variable as when I open a shell locally: The local shell inherits its environment as expected from launchd and ...
I'm trying to mount a RAM disk on startup with this: /Users/Aram/Development/Tools/ramdisk.sh diskutil erasevolume HFS+ "RamDisk" `hdiutil attach -nomount ram://800000` com.aram.ramdisk.plist ...
I want to update the schedule in /System/Library/LaunchDaemons/com.apple.locate.plist. I have unlocked the file in Finder but the Property List Editor is giving me: The file ...
On Snow Leopard, the locate database is updated once a week by a launchd job, /System/Library/LaunchDaemons/com.apple.locate.plist. I'd like to make the updater run daily, but AFAIK it's considered ...
I am looking for a bash set of commands that will enable me to schedule the execution of /usr/libexec/locate.updatedb once every day. Please respond only with a set of command line commands, because ...