Skip to content

Check iCloud on schedule #568

@AndreyNikiforov

Description

@AndreyNikiforov

Summary

Support scheduling periodic iCloud check

Context

Many/most use icloudpd to sync iCloud to their local storage on a schedule. Today one option is to run manually. The second option is to run external scheduler, like cron

iCloudPD can keep running and "watching" for iCloud changes simplifying setup.

Benefits:

  • simple setup
  • opportunities to better collection management -- we can do full scans periodically and incremental in between
  • opportunities to improve performance and reduce traffic -- since it is know what was synchronized last time, there is no need for functionality like --until-found; since we continuing session there maybe less need to do re-authentication with Apple, possibly extending two-factor period
  • long-term local monitoring and alerting (e.g. Prometheus) may be easier

Challenges:

  • edge-case error handling may need to be included, e.g. local volume disappearing

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions