Added a comment
This commit is contained in:
parent
dc5f1212f2
commit
5d6943b893
1 changed files with 11 additions and 0 deletions
|
@ -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.
|
||||||
|
"""]]
|
Loading…
Add table
Reference in a new issue