Schedule sync
otso schedule installs a background job (a launchd agent) that runs otso sync on a timer.
otso schedule install # every hourotso schedule install --every 30 # every 30 minutes; 5 is the leastotso schedule statusotso schedule uninstallWhat each run does
Section titled “What each run does”- It syncs the sources chosen for this Mac in
otso config sources. The choices are read on every run, so changing them doesn’t need a reinstall. - It skips archived sources, apps that aren’t installed, and any source another Mac is writing at that moment.
- It indexes afterwards if anything synced, unless index-after-sync is off or another Mac holds the index.
To schedule only some sources, name them: otso schedule install safari helium --every 30.
Things to know
Section titled “Things to know”- Runs are logged to
~/Library/Logs/otso/sync.log, andotso logsummarizes them. - Install it from a checkout outside
~/Documents. Background jobs on macOS can’t read that folder. - Safari, Messages, Notes, Photos, Calendar and Reminders need Full Disk Access for the
bunbinary the job runs.otso schedule installprints its path. - Spotify only keeps your last 50 plays, so it needs a schedule to stay complete.
With several Macs
Section titled “With several Macs”Install the schedule on each Mac. On the one that holds the index, also run otso schedule install-watch. See Several Macs.