summaryrefslogtreecommitdiff
path: root/aux/maintenance
blob: d529b49b2dda93489e071a2c8c5ee7fc6109153e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -x

case "$1" in
	hourly)
		rm -f -- .http-cache/'https%3A%2F%2F'*'%2Fapi%2Fv1%2Faccounts%2F'*'%2Fstatuses%3Fexclude_reblogs%3Dtrue%26tagged%3DDailyStandUp'
		;;
	daily|weekly)
		rm -rf -- .http-cache
		;;
esac

make

git -C .git-cache maintenance run --schedule="$1"