From fd9710a071cbbc833bc7c126917cb609b2d255e3 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 21 Feb 2021 20:29:40 +0100 Subject: [PATCH] Cron jobs added to Dokku's app.json configuration file --- 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 0000000..279fb37 --- /dev/null +++ b/app.json @@ -0,0 +1,12 @@ +{ + "cron": [ + { + "command": "rake debshots:update_from_deb_repos", + "schedule": "5 7 * * *" + }, + { + "command": "rake debshots:update_longdescription_from_deb_repos", + "schedule": "35 7 * * *" + } + ] +}