Skip to content

Commit

Permalink
Dry run feature cron mails
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Jan 24, 2025
1 parent a175d6f commit a21b023
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions environments/template/group_vars/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ myconext:
feature_create_eduid_institution_enabled: true
feature_create_eduid_institution_landing: true
feature_allowlist: false
feature_dry_run_email_cron: true
sp_entity_id: https://engine.{{ base_domain }}/authentication/sp/metadata
sp_entity_metadata_url: https://engine.{{ base_domain }}/authentication/sp/metadata
oidcng_rs_client_id: myconext.rs.{{ base_domain }}
Expand Down
1 change: 1 addition & 0 deletions environments/vm/group_vars/vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ myconext:
feature_create_eduid_institution_landing: true
feature_show_connections: false
feature_allowlist: false
feature_dry_run_email_cron: true
sp_entity_id: https://engine.{{ base_domain }}/authentication/sp/metadata
sp_entity_metadata_url: https://engine.{{ base_domain }}/authentication/sp/metadata
oidcng_rs_client_id: myconext.rs.{{ base_domain }}
Expand Down
2 changes: 2 additions & 0 deletions roles/myconext/templates/application.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ cron:
nudge-app-mail-days-after-creation: 14
# Every day at 7:30AM
inactivity-users-expression: "0 30 7 * * ?"
# Set to true to disable sending emails
dry-run-email: {{ myconext.feature_dry_run_email_cron }}

manage:
username: myconext
Expand Down

0 comments on commit a21b023

Please sign in to comment.