From 9c7f9b766f54bd103fd7d9b9e05e73f5c934b888 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Thu, 21 May 2026 16:48:14 +0200 Subject: [PATCH] fix: use environment variable for ACME schedule configuration --- src/function/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/function/index.ts b/src/function/index.ts index 9efcaf4..3f167c9 100644 --- a/src/function/index.ts +++ b/src/function/index.ts @@ -3,7 +3,7 @@ import { loadConfig } from '../lib/config.js'; import { Provisioner } from '../lib/provisioner.js'; app.timer('acmeProvisioner', { - schedule: '0 0 2 * * *', + schedule: process.env['ACME_SCHEDULE'] ?? '0 0 2 * * *', useMonitor: true, handler: async (_timer: Timer, context: InvocationContext): Promise => { context.log('Azure ACME Provisioner starting');