File: day_29__scheduling.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (10 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
Spent most of the day building some generic types for scheduling recurring
events. Not sure if rolling my own was a good idea, but that's what I did.

In the incrementalfsck branch, I have hooked this up in `git-annex vicfg`,
which now accepts and parses scheduled events like 
"fsck self every day at any time for 60 minutes" and 
"fsck self on day 1 of weeks divisible by 2 at 3:45 for 120 minutes", and
stores them in the git-annex branch. The exact syntax is of course subject
to change, but also doesn't matter a whole lot since the webapp will have
a better interface.