tdlm / mac-os-self-destruct

Deletes files/folders in macOS based on a time specified in tags.
GNU General Public License v2.0
245 stars 14 forks source link

Add launchd plist file #4

Closed sriehl closed 10 years ago

sriehl commented 10 years ago

Just need to edit the path and copy it to ~/Library/LaunchAgents

tdlm commented 10 years ago

@sriehl Happy to pull this in; just had a couple of questions for you. Thanks for taking the time!

sriehl commented 10 years ago

The nice keyword sets the process priority to slightly lower priority than the default (0).

The commented out section just tells launched to write the stdout and stderr to those files. I would keep it commented unless you are debugging.

tdlm commented 10 years ago

@sriehl That's what I figured based on what I read but just wanted to be sure. Thanks for adding this!