From a2f09eb6705876c44b6c501b4188c2bdb6d1b111 Mon Sep 17 00:00:00 2001 From: paulmwatson Date: Tue, 30 Jul 2024 15:25:12 +0200 Subject: [PATCH] Use dokku cron to run daily bill-tracker/update --- app.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 00000000..1540dab3 --- /dev/null +++ b/app.json @@ -0,0 +1,8 @@ +{ + "cron": [ + { + "command": "curl api.pmg.org.za/v2/bill-tracker/update/ > /var/log/cron-bill-tracker", + "schedule": "0 1 * * *" + } + ] +} \ No newline at end of file