Microsoft Entourage Calendar Cache Problem

I’ve noticed that Microsoft Entourage 2008 sometimes falls out of sync with the Exchange server. This results in missing or outdated events on a calendar. When you use multiple computers and webmail this can become annoying. I’ve traced the problem to the cache in Entourage 2008 becoming either corrupt or stale for some unknown reason. Clearing the cache can be done manually (right click on the calendar and go into “Folder Properties” then press “empty cache”) or can be automated.

Obviously I prefer the automated route. Here’s the AppleScript I wrote:

set accountIterator to 1
tell application "Microsoft Entourage"
        if (exists Exchange account accountIterator) then
            empty cache of every calendar of Exchange account accountIterator
            set accountIterator to accountIterator + 1
            exit repeat
        end if
    end repeat
end tell

Save it as a script, I’ll call mine clearCal.scpt. Now place it somewhere. I’ll use /Users/me/clearCal.scpt.

Now in terminal open crontab via crontab -e and enter the following obviously adjusting the path to point to the script:

0 8 * * * osascript /Users/me/clearCal.scpt

Save (ctrl-o) and exit (ctrl-x).

This will run the script at 8:00 AM every morning and clear the cache. I’m pretty sure this will only worked if your logged in, which is fine for me.

Warning: Clearing the cache means that if an event wasn’t sync’d to the exchange server it will be lost. In my case I find this to be the lesser evil. Obviously if you use this, it’s at your own risk.

iPhone SDK & Enterprise Offering

Apple announced it’s Enterprise offering as well as the long awaited SDK for the iPhone today. A few thoughts:

Enterprise Offering

Pretty impressive, at least the way it sounds. I have a feeling they are dead serious on this one. Exchange support, and the administrative stuff will be very big wins. I also wouldn’t be surprised if the line ends up splitting so there’s an enterprise line of iPhones with a more business set of features, and a “personal” line. That will help them compete more on both sides by being able to focus more. Software likely will be identical among them.

The one thing I can’t figure out is cost. I have a strong feeling a price drop for the current EDGE based iPhones will come in June, as the new 3G models are revealed. It’s still a hard pitch for enterprises to buy iPhones when Blackberry’s are getting cheaper and cheaper. Not to mention they can shop for prices among wireless providers. Because of this, I think there’s a price drop in the works to bring the iPhone to where it can really compete.


I can has SDK? Still can’t download it. Apple’s on Akamai, but their developer stuff is generally not. That really sucks. I’ve been trying all afternoon.

I wonder if the $99 one time fee (setup fee) applies to open source projects? I’d hope they provide an avenue for them to signup at no charge. Especially considering Apple’s involvement in open source.

Other Thoughts

Still no Apple SSH client? I really hope is available for download when this thing actually ships.

More when I actually get my hands on some SDK bits.