From 2c196cfa2dcd4d0b7376281f7eb4e45a542e34a9 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 2 Apr 2024 17:41:34 +0200 Subject: [PATCH] fix: [gogocarto] improve solidity of cron scripts facing the ``no-matching-entries`` bug --- gogocarto/metadata.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gogocarto/metadata.yml b/gogocarto/metadata.yml index 48016c3..b2f7cc4 100644 --- a/gogocarto/metadata.yml +++ b/gogocarto/metadata.yml @@ -35,8 +35,8 @@ uses: solves: maintenance: "Production scheduled tasks" default-options: !bash-stdout | - - bin_console="dc exec -T -u www-data $MASTER_BASE_SERVICE_NAME \"/opt/apps/$BASE_SERVICE_NAME/bin/console\"" + www_data_uid=33 + bin_console="dc exec -T -u \"$www_data_uid\" $MASTER_BASE_SERVICE_NAME \"/opt/apps/$BASE_SERVICE_NAME/bin/console\"" scheds=( checkvote @daily "$bin_console app:elements:checkvote"