From 8c2a5419b2ec327d8fb6a53851f27675cd6e85f0 Mon Sep 17 00:00:00 2001 From: jose-fully-ported <141160579+jose-fully-ported@users.noreply.github.com> Date: Wed, 10 Jan 2024 14:28:29 -0500 Subject: [PATCH] Update porter.yaml --- porter.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/porter.yaml b/porter.yaml index 6b524a6..6d9bcd3 100644 --- a/porter.yaml +++ b/porter.yaml @@ -17,7 +17,7 @@ services: cpuCores: 0.19 ramMegabytes: 400 terminationGracePeriodSeconds: 30 -- name: my-app-job +- name: my-app-cron run: python cron.py type: job cpuCores: 0.19 @@ -25,6 +25,14 @@ services: terminationGracePeriodSeconds: 30 cron: 0 */6 * * * timeoutSeconds: 3600 +- name: my-app-job + run: python cron.py + type: job + cpuCores: 0.19 + ramMegabytes: 400 + terminationGracePeriodSeconds: 30 + suspendCron: true + timeoutSeconds: 3600 build: context: ./ method: pack