How to ensure rclone sync before shut down?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
LANdpLAN
Posts: 77
Joined: Tue May 14, 2024 4:26 pm
Has thanked: 12 times
Been thanked: 6 times

How to ensure rclone sync before shut down?

Post by LANdpLAN »

How can I make sure that rclone has synced everything before shutting down bwpup.
I think I'm having problems with a database because I often have to restore the dropbox file due to corruption. I'm thinking this is being caused because when I finish working on it I'm tired and ready for bed so I close and save my work and then shut down the computer. Currently I'll try watching the Up:k/s and when it flat lines Ill shutdown.
I wonder if there is a better way?

Last edited by Flash on Sun Jan 12, 2025 2:03 pm, edited 1 time in total.
Reason: Made the original subject line into a question
User avatar
Trapster
Posts: 201
Joined: Sat Aug 01, 2020 7:44 pm
Location: Texas
Has thanked: 1 time
Been thanked: 61 times

Re: How to ensure rclone sync before shut down?

Post by Trapster »

I don't have rclone but if you're running it in a script, you can always add this to the end of the script:

Code: Select all

xmessage -center "sync is complete"
Post Reply

Return to “Beginners Help”