Added a comment

This commit is contained in:
Lukey 2021-05-02 08:03:56 +00:00 committed by admin
parent dc5f1212f2
commit 5d6943b893

View file

@ -0,0 +1,11 @@
[[!comment format=mdwn
username="Lukey"
avatar="http://cdn.libravatar.org/avatar/c7c08e2efd29c692cc017c4a4ca3406b"
subject="comment 1"
date="2021-05-02T08:03:56Z"
content="""
I guess you could just put something like this in your crontab:
`*/5 * * * * cd /path/to/repo; flock -n .git/periodic-sync.lock git annex sync --content --all`
As a optimization, you could only sync with `--content --all` if the git-annex branch changed since the last time it ran.
"""]]