Skip to content

Schedule sync

otso schedule installs a background job (a launchd agent) that runs otso sync on a timer.

Terminal window
otso schedule install # every hour
otso schedule install --every 30 # every 30 minutes; 5 is the least
otso schedule status
otso schedule uninstall
  • 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.

  • Runs are logged to ~/Library/Logs/otso/sync.log, and otso log summarizes 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 bun binary the job runs. otso schedule install prints its path.
  • Spotify only keeps your last 50 plays, so it needs a schedule to stay complete.

Install the schedule on each Mac. On the one that holds the index, also run otso schedule install-watch. See Several Macs.