gravity-sync icon indicating copy to clipboard operation
gravity-sync copied to clipboard

Automating pulls

Open Nojwe opened this issue 3 years ago • 4 comments

I am running 3 PiHoles and would like 2 of them to automatically pull from the master. I tried gravity-sync pull quad, which immediately ran a sync, but has not run again after 30 minutes. Is it possible to automate pulls? Happy to supply any logs that may be useful.

Nojwe avatar Oct 31 '22 00:10 Nojwe

https://github.com/vmstan/gravity-sync/wiki/Automation

vmstan avatar Nov 01 '22 15:11 vmstan

Have the same question (only with 2 piholes). When running "gravity-sync auto", does it use the Smart/Push or Pull feature? I only want to Pull Nothing more, but changing the command just runes the "pull" immediately. How often does the "gravity-sync auto" command does its thing? Are there longer Intervals then "gravity-sync auto hour"

nilsee1 avatar Nov 02 '22 12:11 nilsee1

@vmstan I've read through that page several times, but it seems to only apply to the command gravity-sync auto [time] and doesn't work with push or pull. Can you clarify the intended behavior?

Nojwe avatar Nov 03 '22 00:11 Nojwe

Here's a workaround: https://github.com/vmstan/gravity-sync/issues/334

Nojwe avatar Nov 05 '22 16:11 Nojwe

Effective July 26, 2024, this project has been retired. Thank you for your use and enthusiasm for a project that began as a few lines of bash in a Slack channel and envolved into something far more complex, and used by many thousands of Pi-hole enthusiasts over the last four years.

vmstan avatar Jul 26 '24 18:07 vmstan