1git-annex-schedule(1) General Commands Manual git-annex-schedule(1)
2
3
4
6 git-annex-schedule - get or set scheduled jobs
7
9 git annex schedule repository [expression]
10
12 The git-annex-assistant(1) daemon can be configured to run scheduled
13 jobs. This is similar to cron and anacron (and you can use them if you
14 prefer), but has the advantage of being integrated into git-annex, and
15 so being able to e.g., fsck a repository on a removable drive when the
16 drive gets connected.
17
18 When run with an expression, configures scheduled jobs to run at a par‐
19 ticular time. This can be used to make the assistant periodically run
20 incremental fscks.
21
22 When run without an expression, outputs the current scheduled jobs for
23 the repository.
24
26 These actions are available: "fsck self", "fsck UUID" (where UUID is
27 the UUID of a remote to fsck). After the action comes the duration to
28 allow the action to run, and finally the schedule of when to run it.
29
30 To schedule multiple jobs, separate them with "; ".
31
32 Some examples:
33
34 fsck self 30m every day at any time
35 fsck self 1h every month at 3 AM
36 fsck self 1h on day 1 of every month at any time
37 fsck self 1h every week divisible by 2 at any time
38
40 The git-annex-common-options(1) can be used.
41
43 git-annex(1)
44
45 git-annex-assistant(1)
46
47 git-annex-expire(1)
48
50 Joey Hess <id@joeyh.name>
51
52 git-annex-schedule(1)