增加iSync的同步间隔

| No Comments | No TrackBacks

iSync的同步服务与MobileMe(以前的.Mac)绑的很紧,许多的设置都要在MobileMe的设置面板里设置。还好苹果提供了AppleScript来做这样的事情。

tell application "iSync"
    synchronize
    repeat while syncing is true
    end repeat
    quit
end tell
用AppleScript Editor保存成一个文件,在Terminal.app里用osascript直接执行即可。再放在crontab里就可以设置多长时间来同步一下了。如果有MobileMe 账号,iSync的同步间隔是1分钟。

参考

No TrackBacks

TrackBack URL: http://mt.khsing.net/cgi-bin/mt-tb.cgi/75

Leave a comment

About this Entry

This page contains a single entry by Guixing published on September 9, 2009 5:55 AM.

繁体还是简体 was the previous entry in this blog.

翻译了一本书中关于MacBook电池问题的解决方法 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.