DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

DietPi-Sync | Add menu entry to DietPi-Cron

Open cocoflan opened this issue 3 years ago • 5 comments

possibility to sync multi location (directory's) and set sync time manually.

cocoflan avatar Apr 14 '22 01:04 cocoflan

The sync time could be specified using dietpi-cron. There you could adjust the daily execution time on your needs.

Joulinar avatar Apr 14 '22 07:04 Joulinar

Would be actually an idea to add dietpi-cron to the dietpi-sync menu 🤔, like so:

Daily Sync Time : Set the time for the daily sync via dietpi-cron

MichaIng avatar Apr 14 '22 13:04 MichaIng

hmm not sure if this is a good idea. Because changes done on dietpi-cron will have an impact to all daily task and not to dietpi-sync only

Joulinar avatar Apr 14 '22 15:04 Joulinar

That is true. At least this point should me made clear. However, to make users aware that generally the daily cron job execution time, including daily dietpi-sync, can be adjusted via dietpi-cron, is a good idea, I think. Not everyone has all DietPi tools in mind, and what one can do with it.

MichaIng avatar Apr 14 '22 15:04 MichaIng

Btw, about multiple sync locations, here I collected some ideas about how this could look like, also merging dietpi-backup into the same script, to be just another hardcoded sync slot: https://github.com/MichaIng/DietPi/issues/2051#issuecomment-450599769

MichaIng avatar Apr 14 '22 21:04 MichaIng