-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check iCloud on schedule #568
Comments
Hi, Andrey. I have a question about the operation of the Does this maintain a connection to icloud.com, so it only performs the logon process the first time it is run, and subsequent download runs just re-use the same session until it expires... or is it just a loop which repeats the logon process each time it attempts a download? I've coded my container so that it can now loop through albums, and have noticed I'm getting the "private db access disabled for this account" error quite a lot. I was wondering if it's the multiple logons which are causing the throttling. If Thanks. |
When in I cannot say for sure that periodically checking Apple servers on existing session will extend that sessions forever. I am running it since first release and had errors due to internet connectivity loss only (never session expiration). In a long run I am contemplating the idea to separate credential input (~=UI) from processing. Once possible implementation may be a webUI interface to enter credential and monitoring. If works, then
You probably have to experiment. I have only basic knowledge on Apple session expiration and try to come up with solutions that are not bound to current Apple expiration policy (as it may change or may not be universal across geo regions). |
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:
--until-found
; since we continuing session there maybe less need to do re-authentication with Apple, possibly extending two-factor periodChallenges:
The text was updated successfully, but these errors were encountered: