propellor spin

This commit is contained in:
Joey Hess 2014-12-23 14:22:50 -04:00
parent b8be8c244e
commit a48f5916e1
Failed to extract signature
1 changed files with 5 additions and 1 deletions

View File

@ -358,12 +358,16 @@ githubBackup = propertyList "github-backup box"
, "cd github"
, ". $HOME/.github-keys"
, "github-backup joeyh"
]
, Cron.niceJob "gitriddance" "30 4 * * *" "joey"
"/home/joey/lib/backup" $ intercalate "&&" $
[ "cd github"
, ". $HOME/.github-keys"
] ++ map gitriddance githubMirrors
]
where
gitriddance (r, msg) = "(cd " ++ r ++ " && gitriddance " ++ shellEscape msg ++ ")"
-- these repos are only mirrored on github, I don't want
-- all the proprietary features
githubMirrors :: [(String, String)]