This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function SyncMyCal() { | |
var options = { | |
'targetEventTitle': "Busy (sync'd event)", // What event title do you want ported events to have | |
'daysahead': 60, // How many days ahead do you want to sync events over | |
'ignorealldayevents': true, // Do you want to ignore all day events in your "from" calendars | |
'ignorethesedays': [0, 6], // Are there days of the week you don't want to sync? 0 = Sunday | |
'maxhoursbetweenruns': 1, // How many hours between scheduled runs of the calendar sync (you need to set these up) | |
'onlybusyevents': true, // Only copy events marked 'busy' | |
'busyness': 1, // Should events be marked 'busy' by default (0: free, 1: busy, 2: match source event) | |
'visibility': 2, // Should the events be visible by default (0: private, 1: public, 2: match source event) |