From fbb7e81292df271a24a0da6c313dce8d3f0b3917 Mon Sep 17 00:00:00 2001 From: George Hickman Date: Tue, 7 Nov 2023 13:58:08 +0000 Subject: [PATCH] Set up cron tasks The daily tasks use yesterdays date to ensure we get a full days data --- app.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 00000000..2d956218 --- /dev/null +++ b/app.json @@ -0,0 +1,12 @@ +{ + "cron": [ + { + "command": "python -m metrics github", + "schedule": "@daily" + }, + { + "command": "python -m metrics slack tech-support", + "schedule": "@daily" + } + ] +}