Tagged Questions
0
votes
0answers
57 views
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 ...
0
votes
0answers
42 views
Automating Python with launchd & permissions
I setup a Python script to run automatically using launchd (via a .plist)
I wanted this particular script to always run, whether a user was logged in or not, so I put the .plist that "launches" it ...
5
votes
2answers
454 views
How to mount a RAM disk on startup?
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
...
0
votes
4answers
523 views
Editing System/Library files with Property List Editor (PLE)
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 ...
2
votes
2answers
319 views
Make locator.updatedb run daily on Snow Leopard w/o hacking /System/Library?
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 ...
1
vote
1answer
492 views
How to automate execution locate.updatedb by using a bash script
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 ...