Browse Source

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

pull/43/head
Valentin Lab 8 months ago
parent
commit
2c196cfa2d
  1. 4
      gogocarto/metadata.yml

4
gogocarto/metadata.yml

@ -35,8 +35,8 @@ uses:
solves: solves:
maintenance: "Production scheduled tasks" maintenance: "Production scheduled tasks"
default-options: !bash-stdout | 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=( scheds=(
checkvote @daily "$bin_console app:elements:checkvote" checkvote @daily "$bin_console app:elements:checkvote"

Loading…
Cancel
Save