cjnaz / rclonesync-V2

A Bidirectional Cloud Sync Utility using rclone
MIT License
355 stars 39 forks source link

Question about running it with cron #77

Closed janvanveldhuizen closed 2 years ago

janvanveldhuizen commented 2 years ago

When the sync is scheduled to run every 5 minutes, what will happen when a sync is still running? Will it just wait until the other one is ready? Or will it simply skip?

cjnaz commented 2 years ago

It will see that the lock file is still in place and quit, and then successfully run at a later scheduled time when the lock file isn't there.

On Sun, Oct 24, 2021, 8:34 AM Jan van Veldhuizen @.***> wrote:

When the sync is scheduled to run every 5 minutes, what will happen when a sync is still running? Will it just wait until the other one is ready? Or will it simply skip?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cjnaz/rclonesync-V2/issues/77, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRKVYMSGTDGRLD5KH2475TUIQRRFANCNFSM5GTSMC6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

janvanveldhuizen commented 2 years ago

This works perfectly. I have successfully created an ansible playbook for setting up the sync. I launch the first-sync in the background and create the cron job immediately. It patiently keeps trying until the first-sync is ready. Really great!

I have still one question: my Dropbox contains thousands of files. More than a gigabyte. Would rclonesync be able to handle that?

cjnaz commented 2 years ago

Should be no problem. Read some of the benchmark info in the readme.

On Tue, Oct 26, 2021, 12:46 PM Jan van Veldhuizen @.***> wrote:

This works perfectly. I have successfully created an ansible playbook for setting up the sync. I launch the first-sync in the background and create the cron job immediately. It patiently keeps trying until the first-sync is ready. Really great!

I have still one question: my Dropbox contains thousands of files. More than a gigabyte. Would rclonesync be able to handle that?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cjnaz/rclonesync-V2/issues/77#issuecomment-952264053, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRKVYP2F4AM5WBIE3W5W7DUI4HUFANCNFSM5GTSMC6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.