diff --git a/app.json b/app.json new file mode 100644 index 00000000..9ff76056 --- /dev/null +++ b/app.json @@ -0,0 +1,24 @@ +{ + "cron": [ + { + "command": "python -m metrics github pr-throughput ebmdatalab $(date -d '1 day ago' '+%F')", + "schedule": "@daily" + }, + { + "command": "python -m metrics github pr-throughput opensafely-core $(date -d '1 day ago' '+%F')", + "schedule": "@daily" + }, + { + "command": "python -m metrics slack tech-support $(date -d '1 day ago' '+%F')", + "schedule": "@daily" + }, + { + "command": "python -m metrics github open-prs ebmdatalab $(date -d '+%F')", + "schedule": "@weekly" + }, + { + "command": "python -m metrics github open-prs opensafely-core $(date -d '+%F')", + "schedule": "@weekly" + } + ] +}