how to run script continuously despite errors #154
Replies: 17 comments 23 replies
-
I don't think '* * * * *' would work, but the Could you check out the file in question (should be The lock should be released Yeah, I would not do that - the lock is the only thing stopping the program from overwriting itself. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
new error with sync script i'm launching a new try in daemon mode with |
Beta Was this translation helpful? Give feedback.
-
it seem to be ok with daemon mode :) |
Beta Was this translation helpful? Give feedback.
-
bad news, the daemon was stuck all night :'( i have to remove .library.lock manually to let the daemon run again |
Beta Was this translation helpful? Give feedback.
-
here is the debug log when my daemon is in stuck loop to avoid getting stuck, I run a cron every minute with |
Beta Was this translation helpful? Give feedback.
-
ok i'm not getting stuck, but the daemon seems to be looping on the same error over and over. I go back to the sync command to see if i can catch the exact error |
Beta Was this translation helpful? Give feedback.
-
It's the verification error right? Could you get me the exact size and modified date of the file on disk? I got a hunch.... |
Beta Was this translation helpful? Give feedback.
-
about the "CLI-Interface" line, I better understand the difference when I run the sync command, indeed my daemon seems to have a problem |
Beta Was this translation helpful? Give feedback.
-
Yeah, let's get the initial sync working for now and then look at why the dameon is failing :D (also you should really not need to remove the lock manually :D) |
Beta Was this translation helpful? Give feedback.
-
Could you firstly try and change this line and increase the acceptable range for 'modified'? Maybe something like this:
(this would allow the local 'modified' timestamp to be off by 1000ms compared to the metadata provided by iCloud) |
Beta Was this translation helpful? Give feedback.
-
ok, disabled :X
ok, modified ! I try a new sync |
Beta Was this translation helpful? Give feedback.
-
last run results Is it possible to handle file larger than 2GiB ?
Thanks ! |
Beta Was this translation helpful? Give feedback.
-
new error
|
Beta Was this translation helpful? Give feedback.
-
A new error with sync command, the script exit after the last line
|
Beta Was this translation helpful? Give feedback.
-
While waiting for more advanced error management, I run a simple shell script every minute that restarts the sync command when the process is no longer running, I'll see tomorrow morning if it works better than the previous nights
|
Beta Was this translation helpful? Give feedback.
-
Hello,
Despite the max-retries at -1 by default, the sync cuts out on various errors such as the one below after less than 10/20 minutes.
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions