Save to ~/Library/Scripts if application "Mail" is running then tell application "Mail" synchronize with account "Exchange" end tell end if* * * * * /usr/bin/osascript '/Users/bharris/Library/Scripts/Sync "Exchange" Mail account.scpt'Tags: applescript