Browse Source

fix: [gogocarto] improve solidity of cron scripts facing the ``no-matching-entries`` bug

pull/42/head
Valentin Lab 8 months ago
parent
commit
91bfd7ba9b
  1. 4
      gogocarto/metadata.yml

4
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"

Loading…
Cancel
Save