Archive

Posts Tagged ‘jobs’

Deleting Flash Cookies Daily Using Snow Leopard’s Semi-Broken Periodic Scripts

September 8th, 2009 3 comments

I was trying to find a convenient way to delete Flash cookies every day and wanted to run two simple lines automatically:

rm -rf /Users/rob/Library/Preferences/Macromedia/Flash\ Player/\#SharedObjects
rm -rf /Users/rob/Library/Preferences/Macromedia/Flash\ Player/macromedia.com/support/flashplayer/sys

There are many ways to do this of course: launchd, cron, at, etc, but I thought it would be most elegant to tie into the Mac’s periodic maintenance scripts, and what a time I had debugging why I couldn’t get it to work.

Read more…