Skip to content

Commit

Permalink
Merge pull request #177 from betagouv/refactor-email-sms
Browse files Browse the repository at this point in the history
Refacto le chemin de l'outil d'envoi d'email
  • Loading branch information
Shamzic authored Nov 28, 2023
2 parents a22c139 + 82ce949 commit d87f0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/bootstrap/tasks/setup_cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
job: >-
(cd {{ repository_folder }} &&
{{ envvar_prefix }} /usr/bin/node
./dist-server/backend/lib/email.js send initial-survey
./dist-server/tools/email-sending-tool.js send initial-survey
--multiple 1000 >> /var/log/{{ server_user_name }}/{{ item.name }}_emails.log 2>&1)
- name: Add a cron job to send email
become_user: "{{ server_user_name }}"
Expand Down

0 comments on commit d87f0be

Please sign in to comment.