Closed livnev closed 11 years ago
Non-systemd inits should make use of the included /etc/cron.hourly/psd-update which will preform the sync operation on the hour. Users wishing more frequent updates can do exactly as you have posted in their root crontab, i.e.
*/10 * * * * /usr/bin/profile-sync-daemon resync &> /dev/null
Please close if this solves your issue.
Thanks for getting back to me. It would be great if the sync functionality of the /usr/bin/profile-sync-daemon script itself (i.e. that sync command) was documented somehow, because in the manpage it warns NOT to call that script directly.
You're right... I will re-word to be more clear. Thanks for the feedback.
Ack... I had a typo in my reply above which I corrected.
What I had: /10 * * * \ /usr/bin/profile-sync-daemon sync &> /dev/null
What I MEANT to type: /10 * * * \ /usr/bin/profile-sync-daemon resync &> /dev/null
The notable difference being the resync function is called, NOT the sync function. Again, I will re-word the manpage.
Thanks for clearing that up. But for anything-sync-daemon, the equivalent function is called sync? (as it says in the Arch Wiki)
I need to standardize the the asd options bring them in line with psd's wording. I often think about merging the two into a single product but don't have the time right now.
I just pushed v5.32 which contains the less ambigious manpage and a documented rsync option: https://github.com/graysky2/profile-sync-daemon/commit/07fc46a00aed16f656ba67e2e935bc08bc25c1b4
Thanks for bringing this up. If you were confused, I am sure that others were as well.
Great, it should be clearer to new users now.
I'd love to help out with merging but I'm afraid that I'm nowhere near experienced enough yet, but maybe some day.
Hi, I've noticed that systemd timers obviously wont work on a Debian/Ubuntu system, so I was wondering what could be done to set (or even determine the default) sync frequency on non-systemd distributions. It would be cool if this was documented. Thanks!
EDIT: In anything-sync-daemon one can put this into cron:
*/10 * * * * /usr/bin/anything-sync-daemon sync &> /dev/null
Is there an equivalent sync command for psd?